summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/accounthandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/accounthandler.cpp b/src/accounthandler.cpp
index ec534d9d..783017f6 100644
--- a/src/accounthandler.cpp
+++ b/src/accounthandler.cpp
@@ -196,9 +196,11 @@ AccountHandler::processMessage(NetComputer *comp, MessageIn &message)
1 + (int) (127 * (rand() / (RAND_MAX + 1.0)));
}
result.writeString(magic_token, 32);
- result.writeString("www.lindeijer.nl"); // TODO
+ result.writeString(config.getValue("clientGameServerAddress",
+ "localhost"));
result.writeShort(9603);
- result.writeString("www.lindeijer.nl");
+ result.writeString(config.getValue("clientChatServerAddress",
+ "localhost"));
result.writeShort(9602);
registerGameClient(magic_token, selectedChar);