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