summaryrefslogtreecommitdiff
path: root/src/account-server/main-account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r--src/account-server/main-account.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp
index b3edf207..e14b301f 100644
--- a/src/account-server/main-account.cpp
+++ b/src/account-server/main-account.cpp
@@ -331,6 +331,8 @@ int main(int argc, char *argv[])
std::string accountHost = Configuration::getValue("net_accountHost",
"localhost");
+ std::string accountListenToGameHost = Configuration::getValue("net_accountListenToGameHost",
+ accountHost);
// We separate the chat host as the chat server will be separated out
// from the account server.
@@ -354,7 +356,7 @@ int main(int argc, char *argv[])
if (!AccountClientHandler::initialize(DEFAULT_ATTRIBUTEDB_FILE,
options.port, accountHost) ||
- !GameServerHandler::initialize(accountGamePort, accountHost) ||
+ !GameServerHandler::initialize(accountGamePort, accountListenToGameHost) ||
!chatHandler->startListen(chatClientPort, chatHost))
{
LOG_FATAL("Unable to create an ENet server host.");