From e7aa15989675fe573b2b58e0b405006ff0f3cfd9 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 12 Jul 2015 19:21:28 -0400 Subject: [PATCH] Clarify doc regarding KV handle. --- plugins/include/clients.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/include/clients.inc b/plugins/include/clients.inc index 41411593..9da97c2f 100644 --- a/plugins/include/clients.inc +++ b/plugins/include/clients.inc @@ -148,7 +148,8 @@ forward Action:OnClientCommand(client, args); * * @param client Client index. * @param kv Editable KeyValues data to be sent as the command. - * (This handle cannot be closed.) + * (This handle should not be stored and will be closed + * after this forward completes.) * @return Plugin_Handled blocks the command from being sent, * and Plugin_Continue resumes normal functionality. */ @@ -159,7 +160,8 @@ forward Action OnClientCommandKeyValues(int client, KeyValues kv); * * @param client Client index. * @param kv KeyValues data sent as the command. - * (This handle cannot be closed.) + * (This handle should not be stored and will be closed + * after this forward completes.) * @noreturn */ forward void OnClientCommandKeyValues_Post(int client, KeyValues kv);