]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Sexeger!
[user/henk/code/inspircd.git] / include / configreader.h
index 096d1843afaabaf9e83a071d04d08003518b9607..4d5435b1ca43de55f5a4314c34083d0301678849 100644 (file)
@@ -234,6 +234,10 @@ class CoreExport ServerConfig : public Extensible
         * as defined by the administrator.
         */
        char ServerName[MAXBUF];
+
+       /** Notice to give to users when they are Xlined
+        */
+       char MoronBanner[MAXBUF];
        
        /* Holds the network name the local server
         * belongs to. This is an arbitary field defined
@@ -494,6 +498,10 @@ class CoreExport ServerConfig : public Extensible
         */
        std::string logpath;
 
+       /** Default channel modes
+        */
+       char DefaultModes[MAXBUF];
+
        /** Custom version string, which if defined can replace the system info in VERSION.
         */
        char CustomVersion[MAXBUF];
@@ -504,7 +512,7 @@ class CoreExport ServerConfig : public Extensible
 
        /** Max banlist sizes for channels (the std::string is a glob)
         */
-       std::map<std::string,int> maxbans;
+       std::map<std::string, int> maxbans;
 
        /** Directory where the inspircd binary resides
         */
@@ -656,7 +664,7 @@ class CoreExport ServerConfig : public Extensible
        bool AddIOHook(Module* iomod, InspSocket* is);
        bool DelIOHook(InspSocket* is);
 
-       static std::string GetFullProgDir(char** argv, int argc);
+       std::string GetFullProgDir();
        static bool DirValid(const char* dirandfile);
        static char* CleanFilename(char* name);
        static bool FileExists(const char* file);