From e6fd19fb8c2e26f92b0b9fec86aa7f84e550bf18 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 9 Sep 2014 22:05:59 -0400 Subject: [PATCH] Fix crash regression from typo in 892edd96508d --- core/logic/AdminCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/logic/AdminCache.cpp b/core/logic/AdminCache.cpp index 8e950a9f..eaf6ab43 100644 --- a/core/logic/AdminCache.cpp +++ b/core/logic/AdminCache.cpp @@ -1067,7 +1067,7 @@ bool AdminCache::GetUnifiedSteamIdentity(const char *ident, char *out, size_t ma if (len >= 11 && !strncmp(ident, "STEAM_", 6) && ident[8] != '_') { // non-bot/lan Steam2 Id - snprintf(out, maxlen, "%s", ident[8]); + snprintf(out, maxlen, "%s", &ident[8]); return true; } else if (len >= 7 && !strncmp(ident, "[U:", 3) && ident[len-1] == ']')