From 775a35c5ab8257f7de64ac638f0e734456a16627 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 9 Sep 2014 17:56:29 -0700 Subject: [PATCH] Update OnClientAuthorized function doc --- plugins/include/clients.inc | 4 ++-- public/IPlayerHelpers.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/include/clients.inc b/plugins/include/clients.inc index b30a3040..d914e823 100644 --- a/plugins/include/clients.inc +++ b/plugins/include/clients.inc @@ -154,14 +154,14 @@ forward Action:OnClientCommand(client, args); forward void OnClientSettingsChanged(client); /** - * Called when a client receives a Steam ID. The state of a client's + * Called when a client receives an auth ID. The state of a client's * authorization as an admin is not guaranteed here. Use * OnClientPostAdminCheck() if you need a client's admin status. * * This is called by bots, but the ID will be "BOT". * * @param client Client index. - * @param auth Client auth string. + * @param auth Client Steam2 id, if available, else engine auth id. * @noreturn */ forward void OnClientAuthorized(client, const String:auth[]); diff --git a/public/IPlayerHelpers.h b/public/IPlayerHelpers.h index 71c4a333..4ae7316c 100644 --- a/public/IPlayerHelpers.h +++ b/public/IPlayerHelpers.h @@ -365,7 +365,7 @@ namespace SourceMod * @brief Called when a client has received authorization. * * @param client Index of the client. - * @param authstring Authorization string. + * @param authstring Client Steam2 id, if available, else engine auth id. */ virtual void OnClientAuthorized(int client, const char *authstring) {