summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/account-server/accounthandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp
index 507b4f90..83a4a8a0 100644
--- a/src/account-server/accounthandler.cpp
+++ b/src/account-server/accounthandler.cpp
@@ -255,7 +255,9 @@ void AccountHandler::handleLoginMessage(AccountClient &client, MessageIn &msg)
client.status = CLIENT_CONNECTED;
reply.writeByte(ERRMSG_OK);
- reply.writeString(Configuration::getValue("defaultUpdateHost","http://update.manasource.org"));
+ std::string updateHost = Configuration::getValue("defaultUpdateHost","");
+ if (updateHost != "")
+ reply.writeString(updateHost);
client.send(reply); // Acknowledge login
// Return information about available characters