]> 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 509ff9c0cbaad88327edf48e05078775cf5ff00f..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,7 +568,7 @@ class CoreExport ServerConfig
 
        void Fill();
 
-       /* Returns true if the given string starts with a windows drive letter
+       /** Returns true if the given string starts with a windows drive letter
         */
        bool StartsWithWindowsDriveLetter(const std::string &path);
 
@@ -594,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