From abf0a4f508ff6a44c044b3c0e6dbffbb1c5b9201 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Wed, 14 May 2008 22:40:20 +0000 Subject: [PATCH] Fixed amb1657 - Server should see admin version of sm_who --HG-- branch : sourcemod-1.0.x extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402147 --- plugins/basecommands/who.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/basecommands/who.sp b/plugins/basecommands/who.sp index d3766640..69e60579 100644 --- a/plugins/basecommands/who.sp +++ b/plugins/basecommands/who.sp @@ -166,7 +166,7 @@ public Action:Command_Who(client, args) { new bool:is_admin = false; - if (client && GetUserFlagBits(client) != 0) + if (!client || (client && GetUserFlagBits(client) != 0)) { is_admin = true; }