*/
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
*/
*/
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) { }