diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index d121ebdd..5bb49daf 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1815,7 +1815,7 @@ LOG_ERROR("last_games from db = " << dbPlayerData.last_games); std::vector last_games; std::stringstream ss(dbPlayerData.last_games); for (long i; ss >> i;) { - if(i != NULL) + if(!i.is_null()) last_games.push_back(i); if (ss.peek() == ',') ss.ignore();