From 6a080dfd911e9463d35aad226384aa2a94f38057 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 1 Apr 2013 16:15:19 +0200 Subject: Convert IsSID() to a static member function, modules shouldn't override it --- include/inspircd.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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 IsSID; + static bool IsSID(const std::string& sid); /** Rehash the local server */ -- cgit v1.2.3