From 93c8bd02532d512a211091906b15a9c16893edf4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 1 Apr 2006 05:50:33 +0000 Subject: [PATCH] fixed potential exploit (thanks twisted) --- plugins/admin.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin.sma b/plugins/admin.sma index 24121a8a..0b83e573 100755 --- a/plugins/admin.sma +++ b/plugins/admin.sma @@ -92,7 +92,7 @@ public plugin_init() register_cvar("amx_sql_db", "amx") register_concmd("amx_reloadadmins", "cmdReload", ADMIN_CFG) - register_concmd("amx_addadmin", "addadminfn", ADMIN_CFG, " [password] [authtype] - automatically add specified player as an admin to users.ini") + register_concmd("amx_addadmin", "addadminfn", ADMIN_RCON, " [password] [authtype] - automatically add specified player as an admin to users.ini") format(g_cmdLoopback, 15, "amxauth%c%c%c%c", random_num('A', 'Z'), random_num('A', 'Z'), random_num('A', 'Z'), random_num('A', 'Z'))