]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/helperfuncs.cpp
Fix mode Z being in the wrong section of the CHANMODES list
[user/henk/code/inspircd.git] / src / helperfuncs.cpp
index 779bc94cc1b48d7340a2a35a10444cd3d896e23b..c5cfdd79a405c1418ad9eb8657d06e3c3b8da7fe 100644 (file)
@@ -173,6 +173,9 @@ bool InspIRCd::IsValidMask(const std::string &mask)
        if (exclamation != 1 || atsign != 1)
                return false;
 
+       if (mask.length() > 250)
+               return false;
+
        return true;
 }