summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-25 01:42:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-25 01:42:53 +0300
commit10f59701112130cf953a2af7ef4ae82d9d823fe6 (patch)
tree32f84fd57dde0e3ace791bae116163659d19170e /src/net/serverinfo.h
parent4e95f451a793dbac5dbc31361cdc5049de48c3cc (diff)
downloadmv-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.gz
mv-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.bz2
mv-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.xz
mv-10f59701112130cf953a2af7ef4ae82d9d823fe6.zip
Add support for register from browser on servers with disabled registration.
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index d58bd3286..ed9e699b0 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -50,6 +50,7 @@ public:
unsigned short port;
std::string description;
+ std::string registerUrl;
VersionString version;
bool save;
@@ -68,6 +69,7 @@ public:
hostname(info.hostname),
port(info.port),
description(info.description),
+ registerUrl(info.registerUrl),
save(info.save)
{
version.first = info.version.first;
@@ -86,6 +88,7 @@ public:
hostname.clear();
port = 0;
description.clear();
+ registerUrl.clear();
version.first = 0;
version.second.clear();
save = false;