Status: attempt to fix an exploit

This commit is contained in:
neon 2019-07-16 14:32:51 +02:00
parent c01c04864b
commit e7380b895f

View File

@ -41,6 +41,10 @@ public Action Command_Status(int client, const char[] command, int args)
if(!client) if(!client)
return Plugin_Continue; return Plugin_Continue;
// hopefully fixing some dumb exploit?!
if(!IsClientInGame(client))
return Plugin_Stop;
static char sServerName[128]; static char sServerName[128];
static char sServerTags[128]; static char sServerTags[128];
static char sServerAdress[128]; static char sServerAdress[128];