NULL check

This commit is contained in:
Kai Philipp
2019-09-13 17:32:36 +02:00
parent 8ad3f8de69
commit a28d67ac97
+1 -1
View File
@@ -1820,7 +1820,7 @@ LOG_ERROR("last_games from db = " << dbPlayerData.last_games);
if (ss.peek() == ',') if (ss.peek() == ',')
ss.ignore(); ss.ignore();
} }
tmpSession->GetPlayerData()->SetPlayerLastGames(last_games); //tmpSession->GetPlayerData()->SetPlayerLastGames(last_games);
LOG_ERROR("last_games first from vector after db = " << tmpSession->GetPlayerData()->GetPlayerLastGames().front()); LOG_ERROR("last_games first from vector after db = " << tmpSession->GetPlayerData()->GetPlayerLastGames().front());
this->AuthChallenge(tmpSession, dbPlayerData.secret); this->AuthChallenge(tmpSession, dbPlayerData.secret);
} }