diff options
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 117ae8bbe4..c8e17b7aec 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -314,7 +314,8 @@ MCONTACT CSteamProto::AddContact(const char *steamId, bool isTemporary) DBVARIANT dbv; if (!getWString("DefaultGroup", &dbv)) { - db_set_ts(hContact, "CList", "Group", dbv.ptszVal); + if(Clist_GroupExists(dbv.ptszVal)) + db_set_ts(hContact, "CList", "Group", dbv.ptszVal); db_free(&dbv); } } |