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];
|
||||
}
|
||||
|
||||
bool CookieManager::AreClientCookiesPening(int client)
|
||||
bool CookieManager::AreClientCookiesPending(int client)
|
||||
{
|
||||
return statsPending[client];
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ public:
|
||||
|
||||
void OnPluginDestroyed(IPlugin *plugin);
|
||||
|
||||
bool AreClientCookiesPening(int client);
|
||||
bool AreClientCookiesPending(int client);
|
||||
|
||||
public:
|
||||
IForward *cookieDataLoadedForward;
|
||||
|
@ -383,7 +383,7 @@ void ClientPrefs::CatchLateLoadClients()
|
||||
IGamePlayer *pPlayer;
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user