Fixed amb1810 - Clientprefs no longer blocks load.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402418
This commit is contained in:
@@ -80,6 +80,9 @@ struct Cookie
|
||||
{
|
||||
data[i] = NULL;
|
||||
}
|
||||
|
||||
shouldDelete = false;
|
||||
usedInQuery = 0;
|
||||
}
|
||||
|
||||
~Cookie()
|
||||
@@ -98,6 +101,10 @@ struct Cookie
|
||||
int dbid;
|
||||
CookieData *data[MAXCLIENTS+1];
|
||||
CookieAccess access;
|
||||
|
||||
/* Reference counting stuff */
|
||||
bool shouldDelete;
|
||||
int usedInQuery;
|
||||
};
|
||||
|
||||
class CookieManager : public IClientListener, public IPluginsListener
|
||||
@@ -123,14 +130,13 @@ public:
|
||||
|
||||
bool AreClientCookiesCached(int client);
|
||||
|
||||
IForward *cookieDataLoadedForward;
|
||||
|
||||
SourceHook::List<Cookie *> cookieList;
|
||||
|
||||
IBaseMenu *clientMenu;
|
||||
|
||||
void OnPluginDestroyed(IPlugin *plugin);
|
||||
|
||||
public:
|
||||
IForward *cookieDataLoadedForward;
|
||||
SourceHook::List<Cookie *> cookieList;
|
||||
IBaseMenu *clientMenu;
|
||||
|
||||
private:
|
||||
KTrie<Cookie *> cookieTrie;
|
||||
SourceHook::List<CookieData *> clientData[MAXCLIENTS];
|
||||
|
||||
Reference in New Issue
Block a user