bugfix
This commit is contained in:
+2
-2
@@ -283,10 +283,10 @@ LOG_ERROR("checking IsPlayerAllowedToJoinCreateLimitRank() ");
|
||||
LOG_ERROR("timeStamp " << *timeStamp);
|
||||
time_t ts = (time_t)*timeStamp;
|
||||
if(*timeStamp > then){
|
||||
LOG_ERROR("counting timeStamp in time " << ctime(*ts));
|
||||
LOG_ERROR("counting timeStamp in time " << ctime(&ts));
|
||||
count++;
|
||||
}else{
|
||||
LOG_ERROR("erasing overdued timestamp " << ctime(*ts));
|
||||
LOG_ERROR("erasing overdued timestamp " << ctime(&ts));
|
||||
timeStamp = m_last_games.erase(timeStamp); // erase overdued entries
|
||||
if( timeStamp == m_last_games.end())
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user