summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-11-25 12:15:35 +0000
committerPeter Powell <petpow@saberuk.com>2017-11-25 13:38:02 +0000
commit7ece928bab20881d6fe24c4479f4ff9e0a8a7179 (patch)
tree9006cd8dc53b482da1edc62546bedcef5542dad0 /src/helperfuncs.cpp
parent4ac124cf89b175a0c78025e97205f4ad14fcc39d (diff)
Convert IsNick to std::function.
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 ddcff5e55..5d4778b63 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -216,7 +216,7 @@ bool IsChannelHandler::Call(const std::string& chname)
}
/* true for valid nickname, false else */
-bool IsNickHandler::Call(const std::string& n)
+bool InspIRCd::DefaultIsNick(const std::string& n)
{
if (n.empty() || n.length() > ServerInstance->Config->Limits.NickMax)
return false;