summaryrefslogtreecommitdiff
path: root/src/game-server/main-game.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-02-24 13:53:53 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-02-24 13:55:43 +0100
commit5ea5371434b76fc7511db4fa5b72e34046497943 (patch)
tree5706052096835f8f9aab19775fc633f681088a70 /src/game-server/main-game.cpp
parentf207bb487da57911350e037d5f894a037fbd74eb (diff)
downloadmanaserv-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.cpp4
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))
{