diff options
Diffstat (limited to 'modules/protocol/bahamut.cpp')
-rw-r--r-- | modules/protocol/bahamut.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index 1f8b70ef7..d80fb953b 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -709,7 +709,7 @@ int anope_event_burst(const Anope::string &source, int ac, const char **av) return MOD_CONT; } -bool ChannelModeFlood::IsValid(const Anope::string &value) +bool ChannelModeFlood::IsValid(const Anope::string &value) const { Anope::string rest; if (!value.empty() && value[0] != ':' && convertTo<int>(value[0] == '*' ? value.substr(1) : value, rest, false) > 0 && rest[0] == ':' && rest.length() > 1 && convertTo<int>(rest.substr(1), rest, false) > 0 && rest.empty()) |