summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/serverinfo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index 803bcc71..adfdee7e 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -41,13 +41,17 @@ public:
std::string hostname;
unsigned short port;
+ std::string description;
+
bool save;
+ bool meetsMinimumVersion;
ServerInfo()
{
type = UNKNOWN;
port = 0;
save = false;
+ meetsMinimumVersion = true;
}
ServerInfo(const ServerInfo &info)
@@ -56,7 +60,9 @@ public:
name = info.name;
hostname = info.hostname;
port = info.port;
+ description = info.description;
save = info.save;
+ meetsMinimumVersion = info.meetsMinimumVersion;
}
bool isValid() const
@@ -70,6 +76,9 @@ public:
name.clear();
hostname.clear();
port = 0;
+ description.clear();
+ save = false;
+ meetsMinimumVersion = true;
}
bool operator==(const ServerInfo &other) const