diff options
author | Peter Powell <petpow@saberuk.com> | 2017-11-25 12:15:35 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-11-25 13:38:02 +0000 |
commit | 7ece928bab20881d6fe24c4479f4ff9e0a8a7179 (patch) | |
tree | 9006cd8dc53b482da1edc62546bedcef5542dad0 /src/helperfuncs.cpp | |
parent | 4ac124cf89b175a0c78025e97205f4ad14fcc39d (diff) |
Convert IsNick to std::function.
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r-- | src/helperfuncs.cpp | 2 |
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; |