]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
m_spanningtree Remove redundant params.size() checks
[user/henk/code/inspircd.git] / include / configreader.h
index e360d391735ed2775ad208388aa66ee8e9d941f5..07c7a09f51cde8d24431f3f879cc858a9e13e15a 100644 (file)
@@ -545,7 +545,7 @@ class CoreExport ServerConfig
 
        /** Get server ID as string with required leading zeroes
         */
-       std::string GetSID();
+       const std::string& GetSID();
 
        /** Update the 005 vector
         */
@@ -568,10 +568,6 @@ class CoreExport ServerConfig
 
        void Fill();
 
-       /** Parses color codes from string values to actual color codes
-        */
-       void ProcessColors(ConfigFileCache::iterator &file);
-
        /** Returns true if the given string starts with a windows drive letter
         */
        bool StartsWithWindowsDriveLetter(const std::string &path);
@@ -598,6 +594,10 @@ class CoreExport ServerConfig
         */
        bool NoSnoticeStack;
 
+       /** If true, a "Welcome to <networkname>!" NOTICE will be sent to
+        * connecting users
+        */
+       bool WelcomeNotice;
 };
 
 /** The background thread for config reading, so that reading from executable includes