From b7340583fb715396f093adf1656349c87efc3c69 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 17 Feb 2017 14:11:46 +0100 Subject: [PATCH] [Auth] Only set steamid when not anonymous --- src/Components/Modules/Auth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Auth.cpp b/src/Components/Modules/Auth.cpp index 1b7341fc..63e1cb50 100644 --- a/src/Components/Modules/Auth.cpp +++ b/src/Components/Modules/Auth.cpp @@ -86,7 +86,7 @@ namespace Components return; } - if(Steam::Proxy::SteamUser_) + if (!Components::Flags::HasFlag("nosteam") && !Dvar::Var("cl_anonymous").get() && Steam::Proxy::SteamUser_) { infostr.set("realsteamId", Utils::String::VA("%llX", Steam::Proxy::SteamUser_->GetSteamID().Bits)); }