summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-03 22:23:30 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-03 22:23:30 +0300
commit2b4fecc8a93722d3cb080edcae436c329641937b (patch)
tree23d2ec5dc93fda645b637de77d42924a87efd33b /src/net/manaserv
parent7758b86aaa0d368ef776ad826903a0b3bcc7102c (diff)
downloadplus-2b4fecc8a93722d3cb080edcae436c329641937b.tar.gz
plus-2b4fecc8a93722d3cb080edcae436c329641937b.tar.bz2
plus-2b4fecc8a93722d3cb080edcae436c329641937b.tar.xz
plus-2b4fecc8a93722d3cb080edcae436c329641937b.zip
Fix code style and remove some unused variabled.
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp
index 1194cb9f2..ca7fe511f 100644
--- a/src/net/manaserv/playerhandler.cpp
+++ b/src/net/manaserv/playerhandler.cpp
@@ -100,7 +100,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
case GPMSG_PLAYER_SERVER_CHANGE:
{ // TODO: Implement reconnecting to another game server
- std::string token = msg.readString(32);
+ msg.readString(32); // token
std::string address = msg.readString();
int port = msg.readInt16();
logger->log("Changing server to %s:%d", address.c_str(), port);