diff options
| author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2022-08-19 15:05:52 +0200 |
|---|---|---|
| committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2022-08-19 15:05:59 +0200 |
| commit | 20d2a17dccd77f5b31e41a170bacc656fa5acc7d (patch) | |
| tree | 0abbe21d16b3f9a721b75f9204520ca9fddfd1c2 /src/game-server | |
| parent | 77f7206d91a12abd4effd5c20188653e83faa54b (diff) | |
| download | manaserv-20d2a17dccd77f5b31e41a170bacc656fa5acc7d.tar.gz manaserv-20d2a17dccd77f5b31e41a170bacc656fa5acc7d.tar.bz2 manaserv-20d2a17dccd77f5b31e41a170bacc656fa5acc7d.tar.xz manaserv-20d2a17dccd77f5b31e41a170bacc656fa5acc7d.zip | |
Added net_accountListenToGameHost config option
This is because the network interface on which the account server
listens to the game server does not need to match the one on which the
account server listens to the client.
Diffstat (limited to 'src/game-server')
| -rw-r--r-- | src/game-server/accountconnection.cpp | 3 |
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. |