summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/loginhandler.cpp1
-rw-r--r--src/net/tmwa/charserverrecv.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index 103707a35..88b085aa3 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -97,6 +97,7 @@ void LoginHandler::chooseServer(const unsigned int server,
}
charServer->port = LoginRecv::mWorlds[server]->port;
}
+ charServer->althostname = mServer.althostname;
client->setState(State::UPDATE);
}
diff --git a/src/net/tmwa/charserverrecv.cpp b/src/net/tmwa/charserverrecv.cpp
index 5d772a4bb..8074fa458 100644
--- a/src/net/tmwa/charserverrecv.cpp
+++ b/src/net/tmwa/charserverrecv.cpp
@@ -216,6 +216,7 @@ void CharServerRecv::processCharMapInfo(Net::MessageIn &restrict msg)
server.hostname = ipToString(msg.readInt32("ip address"));
}
server.port = msg.readInt16("port");
+ server.althostname = charServer.althostname;
// Prevent the selected local player from being deleted
localPlayer = Net::CharServerHandler::mSelectedCharacter->dummy;