SelfMute: Change GetCmdArgString to GetCmdArg.

ArgString shouldnt be needed here, and breaks targetting with
"#STEAM_0:0:0000".
This commit is contained in:
zaCade 2018-08-03 16:12:25 +02:00
parent 4eeb1b004f
commit 5075c235f8

View File

@ -440,7 +440,7 @@ public Action Command_SelfMute(int client, int args)
}
char Argument[65];
GetCmdArgString(Argument, sizeof(Argument));
GetCmdArg(1, Argument, sizeof(Argument));
char Filtered[65];
strcopy(Filtered, sizeof(Filtered), Argument);
@ -516,7 +516,7 @@ public Action Command_SelfUnMute(int client, int args)
}
char Argument[65];
GetCmdArgString(Argument, sizeof(Argument));
GetCmdArg(1, Argument, sizeof(Argument));
char Filtered[65];
strcopy(Filtered, sizeof(Filtered), Argument);