diff options
author | George Hazan <george.hazan@gmail.com> | 2025-03-18 13:25:14 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-03-18 13:25:14 +0300 |
commit | d8a336bb01bc3e15fc75c8138f72878ab3d287c4 (patch) | |
tree | 8ac171f936d47acc3ea72d9e4548888b1ddac385 | |
parent | 6a97f3222491e7563bb77508327105809daa34a2 (diff) |
minor code cleaning
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 7808c1125b..f92fd64869 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -148,7 +148,7 @@ void CSteamProto::OnGotFriendInfo(const CMsgClientPersonaState &reply, const CMs } // client - uint32_t stateflags = (F->has_persona_state_flags) ? F->persona_state_flags : -1; + auto stateflags = F->persona_state_flags; if (stateflags == PersonaStateFlag::None) { // nothing special, either standard client or in different status (only online, I want to play, I want to trade statuses support this flags) uint16_t status = getWord(hContact, "Status", ID_STATUS_OFFLINE); |