]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd_io.h
Decide that it wasn't quite appropriate :(
[user/henk/code/inspircd.git] / include / inspircd_io.h
index f1b5e8afe081fdb8d9fe23d85932fe28b2935077..711488c36b8de47c3a6c4c66051a70b24b579d83 100644 (file)
@@ -63,7 +63,7 @@ class ServerConfig : public classbase
 
        /** Check that there is only one of each configuration item
         */
-       bool CheckOnce(char* tag,bool bail);
+       bool CheckOnce(char* tag, bool bail, userrec* user);
 
   public:
 
@@ -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.
         */
@@ -197,6 +201,11 @@ class ServerConfig : public classbase
         */
         unsigned int SoftLimit;
 
+       /** Maximum number of targets for a multi target command
+        * such as PRIVMSG or KICK
+        */
+       unsigned int MaxTargets;
+
        /** The maximum number of /WHO results allowed
         * in any single /WHO command.
         */
@@ -215,6 +224,14 @@ class ServerConfig : public classbase
         */
         int DieDelay;
 
+       /** True if we're going to hide netsplits as *.net *.split for non-opers
+        */
+       bool HideSplits;
+
+       /** 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.
         */
@@ -320,5 +337,6 @@ int OpenTCPSocket (void);
 int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr);
 void WritePID(std::string filename);
 int BindPorts();
+char* CleanFilename(char* name);
 
 #endif