Return the 'd' to ClientPrefs::AreClientCookiesPening (r=asherkin).

This commit is contained in:
Kyle Sanderson 2014-05-09 09:34:29 -07:00
parent bc5691c4b6
commit 55b77a1925
3 changed files with 3 additions and 3 deletions

View File

@ -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];
} }

View File

@ -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;

View File

@ -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;
} }