X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=07c7a09f51cde8d24431f3f879cc858a9e13e15a;hb=772dad05a42e20e03a5445b84a7f6612ee44283f;hp=509ff9c0cbaad88327edf48e05078775cf5ff00f;hpb=def08e968b2ed922d7ee69d92d6754f858d00f57;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index 509ff9c0c..07c7a09f5 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -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 !" NOTICE will be sent to + * connecting users + */ + bool WelcomeNotice; }; /** The background thread for config reading, so that reading from executable includes