bugfix
This commit is contained in:
+1
-1
@@ -281,7 +281,7 @@ LOG_ERROR("checking IsPlayerAllowedToJoinCreateLimitRank() ");
|
|||||||
int i=0;
|
int i=0;
|
||||||
for(std::vector<long>::iterator timeStamp = m_last_games.begin(); timeStamp != m_last_games.end(); ++timeStamp) {
|
for(std::vector<long>::iterator timeStamp = m_last_games.begin(); timeStamp != m_last_games.end(); ++timeStamp) {
|
||||||
LOG_ERROR("timeStamp " << *timeStamp);
|
LOG_ERROR("timeStamp " << *timeStamp);
|
||||||
time_t ts = (time_t)*timeStamp;
|
const time_t ts = (time_t)*timeStamp;
|
||||||
if(*timeStamp > then){
|
if(*timeStamp > then){
|
||||||
LOG_ERROR("counting timeStamp in time " << ctime(ts));
|
LOG_ERROR("counting timeStamp in time " << ctime(ts));
|
||||||
count++;
|
count++;
|
||||||
|
|||||||
Reference in New Issue
Block a user