]> 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 0de57c4e4862b622166b9c6dace9a01a5cfc2947..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;
@@ -276,6 +276,14 @@ class ServerConfig : public Extensible
         */
        char PrefixQuit[MAXBUF];
 
+       /** The quit suffix in use, or an empty string
+        */
+       char SuffixQuit[MAXBUF];
+
+       /** The fixed quit message in use, or an empty string
+        */
+       char FixedQuit[MAXBUF];
+
        /** The last string found within a <die> tag, or
         * an empty string.
         */
@@ -341,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.
         */
@@ -395,6 +409,10 @@ class ServerConfig : public Extensible
         */
        bool HideBans;
 
+       /** Announce invites to the channel with a server notice
+        */
+       bool AnnounceInvites;
+
        /** If this is enabled then operators will
         * see invisible (+i) channels in /whois.
         */
@@ -404,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.
         */
@@ -475,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)
         */