]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd_io.h
Segfault-causing typo (wrong var used for a loop, whoops)
[user/henk/code/inspircd.git] / include / inspircd_io.h
index 711488c36b8de47c3a6c4c66051a70b24b579d83..d1356954c7162fb9c023042338d6a49d7046293d 100644 (file)
@@ -228,6 +228,11 @@ class ServerConfig : public classbase
         */
        bool HideSplits;
 
+       /** True if we're going to hide ban reasons for non-opers (e.g. G-Lines,
+        * K-Lines, Z-Lines)
+        */
+       bool HideBans;
+
        /** Set to a non-empty string to obfuscate the server name of users in WHOIS
         */
        char HideWhoisServer[MAXBUF];
@@ -303,6 +308,14 @@ class ServerConfig : public classbase
         */
        char CustomVersion[MAXBUF];
 
+       /** List of u-lined servers
+        */
+       std::vector<irc::string> ulines;
+
+       /** Max banlist sizes for channels (the std::string is a glob)
+        */
+       std::map<std::string,int> maxbans;
+
        ServerConfig();
 
        /** Clears the include stack in preperation for