diff -r d95d696a82e5 -r 8f8e05c8684e core/AdminCache.cpp --- a/core/AdminCache.cpp Mon Nov 24 09:41:46 2008 -0600 +++ b/core/AdminCache.cpp Tue Nov 25 19:10:52 2008 +1300 @@ -1182,6 +1182,12 @@ return false; } + /* If the id was a steam id strip off the STEAM_*: part */ + if (strcmp(auth, "steam") == 0 && strncmp(ident, "STEAM_", 6) == 0) + { + ident += 8; + } + if (sm_trie_retrieve(pTable, ident, NULL)) { return false; @@ -1204,6 +1210,12 @@ return INVALID_ADMIN_ID; } + /* If the id was a steam id strip off the STEAM_*: part */ + if (strcmp(auth, "steam") == 0 && strncmp(identity, "STEAM_", 6) == 0) + { + identity += 8; + } + void *object; if (!sm_trie_retrieve(pTable, identity, &object)) {