summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r--protocols/Steam/src/steam_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp
index 442fd8cfee..7952a237a4 100644
--- a/protocols/Steam/src/steam_proto.cpp
+++ b/protocols/Steam/src/steam_proto.cpp
@@ -300,7 +300,7 @@ bool CSteamProto::OnContactDeleted(MCONTACT hContact, uint32_t flags)
if (flags & CDF_FROM_SERVER)
return true;
- if (Contact::IsGroupChat(hContact))
+ if (Contact::IsGroupChat(hContact) == GCW_CHATROOM)
SvcLeaveChat(hContact, 0);
else if (!getByte(hContact, "Auth")) // remove only authorized contacts
SendUserRemoveRequest(hContact);