summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-08-02 20:42:43 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-08-02 20:42:43 +0000
commit419e301b09de1935ab61f9a28363bb375fc7e208 (patch)
tree1f94bd57ff7482b4b11c5a206bbad6bbd52531f0 /protocols/Steam/src/steam_contacts.cpp
parent32a70bf6533a4207324e0443463a3c12ece03672 (diff)
Steam:
- fixed bug with default group creation - added HttpResponse - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14824 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp3
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);
}
}