Return the 'd' to ClientPrefs::AreClientCookiesPening (r=asherkin).
This commit is contained in:
parent
bc5691c4b6
commit
55b77a1925
@ -310,7 +310,7 @@ bool CookieManager::AreClientCookiesCached(int client)
|
|||||||
return statsLoaded[client];
|
return statsLoaded[client];
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CookieManager::AreClientCookiesPening(int client)
|
bool CookieManager::AreClientCookiesPending(int client)
|
||||||
{
|
{
|
||||||
return statsPending[client];
|
return statsPending[client];
|
||||||
}
|
}
|
||||||
|
@ -124,7 +124,7 @@ public:
|
|||||||
|
|
||||||
void OnPluginDestroyed(IPlugin *plugin);
|
void OnPluginDestroyed(IPlugin *plugin);
|
||||||
|
|
||||||
bool AreClientCookiesPening(int client);
|
bool AreClientCookiesPending(int client);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IForward *cookieDataLoadedForward;
|
IForward *cookieDataLoadedForward;
|
||||||
|
@ -383,7 +383,7 @@ void ClientPrefs::CatchLateLoadClients()
|
|||||||
IGamePlayer *pPlayer;
|
IGamePlayer *pPlayer;
|
||||||
for (int i = playerhelpers->GetMaxClients()+1; --i > 0;)
|
for (int i = playerhelpers->GetMaxClients()+1; --i > 0;)
|
||||||
{
|
{
|
||||||
if (g_CookieManager.AreClientCookiesPening(i) || g_CookieManager.AreClientCookiesCached(i))
|
if (g_CookieManager.AreClientCookiesPending(i) || g_CookieManager.AreClientCookiesCached(i))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user