Fixed amb1810 - Clientprefs no longer blocks load.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402418
This commit is contained in:
@@ -58,7 +58,7 @@ public Action:Command_Cookie(client, args)
|
||||
{
|
||||
if (args == 0)
|
||||
{
|
||||
ReplyToCommand(client, "[SM] Usage: sm_cookie <name> [value]");
|
||||
ReplyToCommand(client, "[SM] Usage: sm_cookies <name> [value]");
|
||||
ReplyToCommand(client, "[SM] %t", "Printing Cookie List");
|
||||
|
||||
/* Show list of cookies */
|
||||
|
||||
@@ -74,6 +74,14 @@ enum CookieMenuAction
|
||||
CookieMenuAction_SelectOption = 1,
|
||||
};
|
||||
|
||||
/**
|
||||
* Note:
|
||||
*
|
||||
* A successful return value/result on any client prefs native only guarantees that the local cache has been updated.
|
||||
* Database connection problems can still prevent the data from being permanently saved. Connection problems will be logged as
|
||||
* errors by the clientprefs extension.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Creates a new Client preference cookie.
|
||||
*
|
||||
|
||||
@@ -44,6 +44,8 @@ public CookieSelected(client, CookieMenuAction:action, any:info, String:buffer[]
|
||||
public bool:OnClientConnect(client, String:rejectmsg[], maxlen)
|
||||
{
|
||||
LogMessage("Connect Cookie state: %s", AreClientCookiesCached(client) ? "YES" : "NO");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public OnClientCookiesCached(client)
|
||||
|
||||
Reference in New Issue
Block a user