]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Initialize more User and LocalUser fields using the init list
[user/henk/code/inspircd.git] / include / configreader.h
index fe1e5da9eb066edec6fc68c2487cff82d60ae864..f2ba16902293cf9a32b1057062c2ccb2da8162a9 100644 (file)
@@ -121,6 +121,9 @@ class ServerLimits
         * @param tag Configuration tag to read the limits from
         */
        ServerLimits(ConfigTag* tag);
+
+       /** Maximum length of a n!u@h mask */
+       size_t GetMaxMask() const { return NickMax + 1 + IdentMax + 1 + MaxHost; }
 };
 
 struct CommandLineConf