summaryrefslogtreecommitdiff
path: root/src/game-server/accountconnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/accountconnection.cpp')
-rw-r--r--src/game-server/accountconnection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game-server/accountconnection.cpp b/src/game-server/accountconnection.cpp
index 6b7b728a..546ae5ae 100644
--- a/src/game-server/accountconnection.cpp
+++ b/src/game-server/accountconnection.cpp
@@ -56,7 +56,8 @@ AccountConnection::~AccountConnection()
bool AccountConnection::start(int gameServerPort)
{
const std::string accountServerAddress =
- Configuration::getValue("net_accountHost", "localhost");
+ Configuration::getValue("net_accountListenToGameHost",
+ Configuration::getValue("net_accountHost", "localhost"));
// When the accountListenToGamePort is set, we use it.
// Otherwise, we use the accountListenToClientPort + 1 if the option is set.