summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Sehmisch <mana@crushnet.org>2011-03-14 21:44:02 +0100
committerPhilipp Sehmisch <mana@crushnet.org>2011-03-14 21:47:09 +0100
commit3b2331d7689116f50366612233ad005032138658 (patch)
treedbc25f7dc89bf71e9f2b7acc968e3385c67441a6
parent967caa8a91702510fc9b4a35292042802c27d14c (diff)
downloadmanaserv-3b2331d7689116f50366612233ad005032138658.tar.gz
manaserv-3b2331d7689116f50366612233ad005032138658.tar.xz
manaserv-3b2331d7689116f50366612233ad005032138658.zip
Made the "No game server for map" error message report the map ID
(trivial patch)
-rw-r--r--src/account-server/accounthandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp
index 46f202a..41231b9 100644
--- a/src/account-server/accounthandler.cpp
+++ b/src/account-server/accounthandler.cpp
@@ -877,7 +877,7 @@ void AccountHandler::handleCharacterSelectMessage(AccountClient &client,
if (!GameServerHandler::getGameServerFromMap
(selectedChar->getMapId(), address, port))
{
- LOG_ERROR("Character Selection: No game server for the map.");
+ LOG_ERROR("Character Selection: No game server for map #"<<selectedChar->getMapId());
reply.writeInt8(ERRMSG_FAILURE);
client.send(reply);
return;