SourceMod now handles steamid's internally without the STEAM_*: part (bug 3428)

This commit is contained in:
Matt Woodrow
2008-11-25 19:10:52 +13:00
parent 25a0a192a2
commit 321443450a
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ public ReadSimpleUsers()
DecodeAuthMethod(const String:auth[], String:method[32], &offset)
{
if (StrContains(auth, "STEAM_") == 0)
if ((StrContains(auth, "STEAM_") == 0) || (strncmp("0:", auth, 2) == 0) || (strncmp("1:", auth, 2) == 0))
{
strcopy(method, sizeof(method), AUTHMETHOD_STEAM);
offset = 0;