From b628df6868df9d959e25f5b9fcf232981528ff85 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Sat, 14 Sep 2019 18:52:02 +0200 Subject: [PATCH] bugfix --- src/net/common/serverlobbythread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index ebe72c13..8aa1783c 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1813,7 +1813,7 @@ ServerLobbyThread::UserValid(unsigned playerId, const DBPlayerData &dbPlayerData tmpSession->GetPlayerData()->SetDBId(dbPlayerData.id); tmpSession->GetPlayerData()->SetCountry(dbPlayerData.country); - if(dbPlayerData.last_games.length > 0){ + if(dbPlayerData.last_games.length() > 0){ LOG_ERROR("last_games from db = " << dbPlayerData.last_games); vector last_games; boost::split(last_games, dbPlayerData.last_games, boost::is_any_of(","));