aboutsummaryrefslogtreecommitdiffstats
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-04-01 16:15:19 +0200
committerGravatar attilamolnar2013-04-01 16:15:19 +0200
commit6a080dfd911e9463d35aad226384aa2a94f38057 (patch)
treecb7507fd3e2876f6d06a7a94dc7680847f00cc7a /src/helperfuncs.cpp
parentRemove more deprecated code (diff)
downloadinspircd++-6a080dfd911e9463d35aad226384aa2a94f38057.tar.gz
inspircd++-6a080dfd911e9463d35aad226384aa2a94f38057.tar.bz2
inspircd++-6a080dfd911e9463d35aad226384aa2a94f38057.zip
Convert IsSID() to a static member function, modules shouldn't override it
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 5a8f55f11..7ee78c46e 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -367,7 +367,7 @@ bool IsIdentHandler::Call(const char* n)
return true;
}
-bool IsSIDHandler::Call(const std::string &str)
+bool InspIRCd::IsSID(const std::string &str)
{
/* Returns true if the string given is exactly 3 characters long,
* starts with a digit, and the other two characters are A-Z or digits