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:10:09 +02:00
parent bad8090756
commit 3e39970f7b

View File

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