diff options
Diffstat (limited to 'src/account-server')
-rw-r--r-- | src/account-server/serverhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account-server/serverhandler.cpp b/src/account-server/serverhandler.cpp index 1f55bc98..a7d87da9 100644 --- a/src/account-server/serverhandler.cpp +++ b/src/account-server/serverhandler.cpp @@ -131,8 +131,8 @@ static GameServer *getGameServerFromMap(int mapId) i_end = serverHandler->clients.end(); i != i_end; ++i) { GameServer *server = static_cast< GameServer * >(*i); - ServerStatistics::const_iterator i = server->maps.find(mapId); - if (i == server->maps.end()) continue; + ServerStatistics::const_iterator it = server->maps.find(mapId); + if (it == server->maps.end()) continue; return server; } return NULL; |