1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 21:26:37 +02:00

Sanitize nuh masks more to prevent the other side from rewriting them, which screws with our internal tracking of them

This commit is contained in:
Adam
2014-05-13 22:57:53 -04:00
parent 1c8a77ab9f
commit 63b02b8c97
9 changed files with 48 additions and 19 deletions
+1 -1
View File
@@ -547,7 +547,7 @@ class ChannelModeFlood : public ChannelModeParam
ChannelModeFlood(char modeChar, bool minusNoArg) : ChannelModeParam("FLOOD", modeChar, minusNoArg) { }
/* Borrowed part of this check from UnrealIRCd */
bool IsValid(const Anope::string &value) const anope_override
bool IsValid(Anope::string &value) const anope_override
{
if (value.empty())
return false;