]> 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 da592d6c431c680fac4a30f89cca7db3beb6c1b6..d1356954c7162fb9c023042338d6a49d7046293d 100644 (file)
@@ -142,6 +142,10 @@ class ServerConfig : public classbase
         */
         char ModPath[1024];
 
+       /** The temporary directory where modules are copied
+        */
+       char TempDir[1024];
+
        /** The full pathname to the executable, as
         * given in argv[0] when the program starts.
         */
@@ -220,6 +224,19 @@ class ServerConfig : public classbase
         */
         int DieDelay;
 
+       /** True if we're going to hide netsplits as *.net *.split for non-opers
+        */
+       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];
+
        /** A list of IP addresses the server is listening
         * on.
         */
@@ -291,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