- Server(const std::string& srvname, const std::string& srvdesc)
- : name(srvname), description(srvdesc), uline(false), silentuline(false) { }
+ Server(const std::string& srvid, const std::string& srvname, const std::string& srvdesc)
+ : id(srvid)
+ , name(srvname)
+ , description(srvdesc)
+ , uline(false)
+ , silentuline(false)
+ {
+ }
+
+ DEPRECATED_METHOD(Server(const std::string& srvname, const std::string& srvdesc))
+ : name(srvname)
+ , description(srvdesc)
+ , uline(false)
+ , silentuline(false)
+ {
+ }
+
+ /** Retrieves the unique identifier for this server (e.g. 36C). */
+ const std::string& GetId() const { return id; }