summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2013-12-14 22:55:10 -0800
committerAdam <adam@sigterm.info>2013-12-14 22:55:10 -0800
commit59df199aaedf8018979c444eaa8cca59ff001877 (patch)
treee7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /include/inspircd.h
parent357d190074ee58809b31ea0c08543566168bddf6 (diff)
parentad47ea662698e72ff8f79b03512b1e7fe81bdf53 (diff)
Merge pull request #689 from SaberUK/master+cxxify
Clean up various things.
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index f43141c38..d045b347b 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -54,6 +54,7 @@ CoreExport extern InspIRCd* ServerInstance;
#include "caller.h"
#include "cull_list.h"
#include "extensible.h"
+#include "fileutils.h"
#include "numerics.h"
#include "uid.h"
#include "users.h"
@@ -564,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
@@ -684,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,