summaryrefslogtreecommitdiff
path: root/src/client.cpp
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/client.cpp
parent4e95f451a793dbac5dbc31361cdc5049de48c3cc (diff)
downloadmanaverse-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.gz
manaverse-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.bz2
manaverse-10f59701112130cf953a2af7ef4ae82d9d823fe6.tar.xz
manaverse-10f59701112130cf953a2af7ef4ae82d9d823fe6.zip
Add support for register from browser on servers with disabled registration.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 8180b22c1..2ec9c183c 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1023,6 +1023,7 @@ int Client::gameExec()
{
mServerName = mCurrentServer.hostname;
initServerConfig(mCurrentServer.hostname);
+ loginData.registerUrl = mCurrentServer.registerUrl;
if (mOptions.username.empty())
{
if (loginData.remember)