summaryrefslogtreecommitdiffstats
path: root/src/account-server
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-04-07 17:31:06 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-04-12 12:48:28 +0200
commitdcd66debbe519403d3b8f7bf30313fbdee71fe6c (patch)
tree6a5df54bb70078e3fa673b30af45484777232ee0 /src/account-server
parent2d2d8e70911de15c8c82c06b7cdaff1d33e9992e (diff)
downloadmanaserv-dcd66debbe519403d3b8f7bf30313fbdee71fe6c.tar.gz
manaserv-dcd66debbe519403d3b8f7bf30313fbdee71fe6c.tar.xz
manaserv-dcd66debbe519403d3b8f7bf30313fbdee71fe6c.zip
Fixed issues with server behind router
Tested-by: jurkan. Reviewed-by: Bertram.
Diffstat (limited to 'src/account-server')
-rw-r--r--src/account-server/accounthandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp
index b0ac4d5..3590dbe 100644
--- a/src/account-server/accounthandler.cpp
+++ b/src/account-server/accounthandler.cpp
@@ -881,8 +881,8 @@ void AccountHandler::handleCharacterSelectMessage(AccountClient &client,
reply.writeInt16(port);
// Give address and port for the chat server
- reply.writeString(Configuration::getValue("net_chatHost",
- "localhost"));
+ reply.writeString(Configuration::getValue("net_publicChatHost",
+ Configuration::getValue("net_chatHost", "localhost")));
// When the chatListenToClientPort is set, we use it.
// Otherwise, we use the accountListenToClientPort + 2 if the option is set.