Skip to content

Commit

Permalink
Fix STEAMID Selector #59
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed Apr 7, 2020
1 parent 0dc3248 commit 97c46c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/hextags.sp
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ bool CheckSelector(const char[] selector, int client)
}

/* CHECK STEAMID */
if(strlen(selector) > 11 && StrContains(selector, "STEAM_", true))
if(strlen(selector) > 11 && StrContains(selector, "STEAM_", true) == 0)
{
char steamid[32];
if (!GetClientAuthId(client, AuthId_Steam2, steamid, sizeof(steamid)))
Expand Down

0 comments on commit 97c46c7

Please sign in to comment.