Skip to content

Commit

Permalink
Fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed Dec 25, 2018
1 parent 7d1136e commit 770fc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameServer/addons/sourcemod/scripting/HexRedirect.sp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public Action OnClientSayCommand(int client, const char[] command, const char[]
{
ReplaceString(sValue, sizeof sValue, "{STEAMID64}", sAuth, false);
}
if (GetClientIP(client, sValue, sizeof sValue) && StrContains(sValue, "{IP}", false) != -1)
if (GetClientIP(client, sAuth, sizeof sAuth) && StrContains(sValue, "{IP}", false) != -1)
{
ReplaceString(sValue, sizeof sValue, "{IP}", sValue);
}
Expand Down

0 comments on commit 770fc3e

Please sign in to comment.