diff options
author | Peter Powell <petpow@saberuk.com> | 2017-11-25 12:37:48 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-11-25 13:38:02 +0000 |
commit | 1dca8b79edf65c0e5e846cc120f1321fb0a1d15c (patch) | |
tree | 9b3ad6b2f090e722a916815a613f2e04603819c1 /src/helperfuncs.cpp | |
parent | 3b3cb845602bbaa3935f736785a53724750230dc (diff) |
Convert IsChannel 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 719454742..a24401542 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -193,7 +193,7 @@ void InspIRCd::ProcessColors(file_cache& input) } /* true for valid channel name, false else */ -bool IsChannelHandler::Call(const std::string& chname) +bool InspIRCd::DefaultIsChannel(const std::string& chname) { if (chname.empty() || chname.length() > ServerInstance->Config->Limits.ChanMax) return false; |