X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fserver.h;h=e54a379bce36a215f438c0cd7126aef219316f8f;hb=a71f34e4b17420cacc4a50c5af64fe15811a8148;hp=3d88547344d55ac863e35d9f7fc1ae4bbab7a89c;hpb=f71e6bf9cb41811f18864f5d4eecb26e29d03f25;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/server.h b/include/server.h index 3d8854734..e54a379bc 100644 --- a/include/server.h +++ b/include/server.h @@ -26,9 +26,10 @@ class CoreExport Server : public classbase */ const std::string name; - /** The description of this server + /** The description of this server. + * This can be updated by the protocol module (for remote servers) or by a rehash (for the local server). */ - const std::string description; + std::string description; /** True if this server is ulined */ @@ -38,6 +39,10 @@ class CoreExport Server : public classbase */ bool silentuline; + /** Allow ConfigReaderThread to update the description on a rehash + */ + friend class ConfigReaderThread; + public: Server(const std::string& srvname, const std::string& srvdesc) : name(srvname), description(srvdesc), uline(false), silentuline(false) { }