]> 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 9b73dd3c630a095fdc5e3e59889a25e86fcff670..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
@@ -431,11 +434,6 @@ class CoreExport ServerConfig
         */
        bool CycleHostsFromUser;
 
-       /** If set to true, prefixed channel NOTICEs and PRIVMSGs will have the prefix
-        *  added to the outgoing text for undernet style msg prefixing.
-        */
-       bool UndernetMsgPrefix;
-
        /** If set to true, the full nick!user\@host will be shown in the TOPIC command
         * for who set the topic last. If false, only the nick is shown.
         */