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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user