summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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