summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-12-15 05:34:00 +0000
committerPeter Powell <petpow@saberuk.com>2013-12-15 06:46:44 +0000
commitad47ea662698e72ff8f79b03512b1e7fe81bdf53 (patch)
treee7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /include/inspircd.h
parent7fea7c24c509731040b76191d279972fced7b64c (diff)
Make various self contained methods static.
- InspIRCd::IsValidMask - InspIRCd::TimeString
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index e02a5deb5..d045b347b 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -565,7 +565,7 @@ class CoreExport InspIRCd
* @param mask A nick!user\@host masak to match against
* @return True i the mask is valid
*/
- bool IsValidMask(const std::string &mask);
+ static bool IsValidMask(const std::string& mask);
/** Strips all color codes from the given string
* @param sentence The string to strip from
@@ -685,7 +685,7 @@ class CoreExport InspIRCd
/** Return a time_t as a human-readable string.
*/
- std::string TimeString(time_t curtime);
+ static std::string TimeString(time_t curtime);
/** Begin execution of the server.
* NOTE: this function NEVER returns. Internally,