]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Add HiroP to contributors for being such a helpful little gubbins ;>. Congradulations. :)
[user/henk/code/inspircd.git] / include / configreader.h
index 2d144441a24d1295639f161deaa9db283a5b45ca..eefa359c9e523567a90d3643a05afce4350620a4 100644 (file)
@@ -151,9 +151,9 @@ struct InitialConfig
 struct MultiConfig
 {
        const char*     tag;
-       char*           items[12];
-       char*           items_default[12];
-       int             datatype[12];
+       char*           items[13];
+       char*           items_default[13];
+       int             datatype[13];
        MultiNotify     init_function;
        MultiValidator  validation_function;
        MultiNotify     finish_function;
@@ -349,6 +349,12 @@ class ServerConfig : public Extensible
         */
        bool AllowHalfop;
 
+       /** If this is set to true, then mode lists (e.g
+        * MODE #chan b) are hidden from unprivileged
+        * users.
+        */
+       bool HideModeLists[256];
+
        /** The number of seconds the DNS subsystem
         * will wait before timing out any request.
         */
@@ -416,6 +422,10 @@ class ServerConfig : public Extensible
         */
        char HideWhoisServer[MAXBUF];
 
+       /** Set to a non empty string to obfuscate nicknames prepended to a KILL.
+        */
+       char HideKillsServer[MAXBUF];
+
        /** A list of IP addresses the server is listening
         * on.
         */
@@ -487,7 +497,7 @@ class ServerConfig : public Extensible
 
        /** List of u-lined servers
         */
-       std::vector<irc::string> ulines;
+       std::map<irc::string, bool> ulines;
 
        /** Max banlist sizes for channels (the std::string is a glob)
         */