Still fixing gcc error.

This commit is contained in:
lotodore
2009-11-15 08:55:04 +00:00
parent 1a35214974
commit 3a323b7c19
+1 -1
View File
@@ -952,7 +952,7 @@ ServerLobbyThread::HandleNetPacketInit(SessionWrapper session, const InitMessage
&& playerName.substr(0, sizeof(SERVER_GUEST_PLAYER_NAME) - 1) == SERVER_GUEST_PLAYER_NAME) && playerName.substr(0, sizeof(SERVER_GUEST_PLAYER_NAME) - 1) == SERVER_GUEST_PLAYER_NAME)
{ {
string guestId(playerName.substr(sizeof(SERVER_GUEST_PLAYER_NAME))); string guestId(playerName.substr(sizeof(SERVER_GUEST_PLAYER_NAME)));
if (count_if(guestId.begin(), guestId.end(), isdigit) == guestId.size()) if (count_if(guestId.begin(), guestId.end(), ::isdigit) == guestId.size())
{ {
validGuest = true; validGuest = true;
noAuth = true; noAuth = true;