diff options
| author | 2013-12-15 05:34:00 +0000 | |
|---|---|---|
| committer | 2013-12-15 06:46:44 +0000 | |
| commit | ad47ea662698e72ff8f79b03512b1e7fe81bdf53 (patch) | |
| tree | e7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /include | |
| parent | Purge docs/rfc from the repository. (diff) | |
Make various self contained methods static.
- InspIRCd::IsValidMask
- InspIRCd::TimeString
Diffstat (limited to 'include')
| -rw-r--r-- | include/inspircd.h | 4 |
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, |
