summaryrefslogtreecommitdiff
path: root/src/net/ea/loginhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/loginhandler.cpp')
-rw-r--r--src/net/ea/loginhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index fbe588b1f..70b32c92c 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -87,7 +87,7 @@ void LoginHandler::chooseServer(const unsigned int server) const
if (charServer)
{
if (config.getBoolValue("usePersistentIP"))
- charServer->hostname = Client::getServerName();
+ charServer->hostname = client->getServerName();
else
charServer->hostname = ipToString(mWorlds[server]->address);
charServer->port = mWorlds[server]->port;