diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-01 16:15:19 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-01 16:15:19 +0200 |
commit | 6a080dfd911e9463d35aad226384aa2a94f38057 (patch) | |
tree | cb7507fd3e2876f6d06a7a94dc7680847f00cc7a /include | |
parent | de9cf90b6b9c0a65ec21030c3906306b5c17bde8 (diff) |
Convert IsSID() to a static member function, modules shouldn't override it
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index a7469c52d..456a78d40 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -267,7 +267,6 @@ DEFINE_HANDLER2(IsNickHandler, bool, const char*, size_t); DEFINE_HANDLER2(GenRandomHandler, void, char*, size_t); DEFINE_HANDLER1(IsIdentHandler, bool, const char*); DEFINE_HANDLER2(IsChannelHandler, bool, const char*, size_t); -DEFINE_HANDLER1(IsSIDHandler, bool, const std::string&); DEFINE_HANDLER1(RehashHandler, void, const std::string&); DEFINE_HANDLER3(OnCheckExemptionHandler, ModResult, User*, Channel*, const std::string&); @@ -337,7 +336,6 @@ class CoreExport InspIRCd IsIdentHandler HandleIsIdent; OnCheckExemptionHandler HandleOnCheckExemption; IsChannelHandler HandleIsChannel; - IsSIDHandler HandleIsSID; RehashHandler HandleRehash; GenRandomHandler HandleGenRandom; @@ -573,7 +571,7 @@ class CoreExport InspIRCd /** Return true if str looks like a server ID * @param string to check against */ - caller1<bool, const std::string&> IsSID; + static bool IsSID(const std::string& sid); /** Rehash the local server */ |