bugfix
This commit is contained in:
+2
-2
@@ -268,11 +268,11 @@ PlayerData::GetPlayerLastGames()
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
PlayerData::IsPlayerAllowedToJoinCreateLimitRank(string num, string period)
|
PlayerData::IsPlayerAllowedToJoinCreateLimitRank(std::string num, std::string period)
|
||||||
{
|
{
|
||||||
bool retVal = false;
|
bool retVal = false;
|
||||||
LOG_ERROR("checking IsPlayerAllowedToJoinCreateLimitRank() ");
|
LOG_ERROR("checking IsPlayerAllowedToJoinCreateLimitRank() ");
|
||||||
|
LOG_ERROR("num = " << num << " period " << period);
|
||||||
boost::mutex::scoped_lock lock(m_dataMutex);
|
boost::mutex::scoped_lock lock(m_dataMutex);
|
||||||
|
|
||||||
long then = (long)time(NULL) - (long)(stoi(period) * 10);
|
long then = (long)time(NULL) - (long)(stoi(period) * 10);
|
||||||
|
|||||||
Reference in New Issue
Block a user