summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-03 15:54:28 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-03 15:54:28 +0200
commit886f1ba488a5ab9d7fe4d7b4ac6b9c9dc2841738 (patch)
tree02eabf80806341753a17e6d1e68cacbc41ee484c /include
parent2bcb73e8339d4ad9db6c0e9cd1307b522f3fcde5 (diff)
Convert InspIRCd::Duration() to be static
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 13cd92451..099b9dd87 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -735,7 +735,7 @@ class CoreExport InspIRCd
* (one year, two weeks, three days, four hours, six minutes and five seconds)
* @return The total number of seconds
*/
- long Duration(const std::string &str);
+ static unsigned long Duration(const std::string& str);
/** Attempt to compare a password to a string from the config file.
* This will be passed to handling modules which will compare the data