]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Merge insp20
[user/henk/code/inspircd.git] / include / configreader.h
index fe1e5da9eb066edec6fc68c2487cff82d60ae864..fb93adafd65383d11b01c1dd01c5979c5552e230 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
@@ -400,6 +403,10 @@ class CoreExport ServerConfig
         */
        std::string HideKillsServer;
 
+       /** Set to hide kills from clients of ulined servers in snotices.
+        */
+       bool HideULineKills;
+
        /** The full pathname and filename of the PID
         * file as defined in the configuration.
         */