diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-02-24 13:53:53 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-02-24 13:55:43 +0100 |
commit | 5ea5371434b76fc7511db4fa5b72e34046497943 (patch) | |
tree | 5706052096835f8f9aab19775fc633f681088a70 /src/game-server/main-game.cpp | |
parent | f207bb487da57911350e037d5f894a037fbd74eb (diff) | |
download | manaserv-5ea5371434b76fc7511db4fa5b72e34046497943.tar.gz manaserv-5ea5371434b76fc7511db4fa5b72e34046497943.tar.bz2 manaserv-5ea5371434b76fc7511db4fa5b72e34046497943.tar.xz manaserv-5ea5371434b76fc7511db4fa5b72e34046497943.zip |
Forgot two config key renames and a little style fix
Diffstat (limited to 'src/game-server/main-game.cpp')
-rw-r--r-- | src/game-server/main-game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp index 86dc7e22..0824a8d1 100644 --- a/src/game-server/main-game.cpp +++ b/src/game-server/main-game.cpp @@ -255,7 +255,7 @@ void parseOptions(int argc, char *argv[]) // Change the port to listen on. unsigned short portToListenOn; portToListenOn = atoi(optarg); - Configuration::setValue("gameServerPort", portToListenOn); + Configuration::setValue("net_gameServerPort", portToListenOn); LOG_INFO("Setting default port to " << portToListenOn); break; } @@ -283,7 +283,7 @@ int main(int argc, char *argv[]) accountHandler->start(); int gameServerPort = - Configuration::getValue("gameServerPort", DEFAULT_SERVER_PORT + 3); + Configuration::getValue("net_gameServerPort", DEFAULT_SERVER_PORT + 3); if (!gameHandler->startListen(gameServerPort)) { |