From 6555cdd77848905847d52c9a451871e518a6eda6 Mon Sep 17 00:00:00 2001 From: Greyscale Date: Sun, 29 Mar 2009 22:08:56 +0200 Subject: [PATCH] ZR_PrintToAdminChat now checks for Admin_Generic flag --- src/zr/translation.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zr/translation.inc b/src/zr/translation.inc index 6dd5326..3e24c14 100644 --- a/src/zr/translation.inc +++ b/src/zr/translation.inc @@ -175,7 +175,7 @@ stock ZR_PrintToAdminChat(String:message[]) Format(buffer, sizeof(buffer), "[ZR] %s", message); for (new client = 1; client < maxclients; client++) { - if (IsClientConnected(client) && IsClientInGame(client) && GetUserAdmin(client) != INVALID_ADMIN_ID) + if (IsClientConnected(client) && IsClientInGame(client) && GetAdminFlag(GetUserAdmin(client), Admin_Generic)) { PrintToChat(client, buffer); }