summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/fam_01service.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-30 16:26:36 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-30 16:26:36 +0000
commit8c85373fcb86aae9a09e19cae045fa667ba929a4 (patch)
tree6e9d763efadca018c658b7ece8c100ac86e4e70f /protocols/IcqOscarJ/src/fam_01service.cpp
parent540f5010d9ebdec65b09bdc71fcd6cdf2010beaf (diff)
some helpers wiped out of ICQ
git-svn-id: http://svn.miranda-ng.org/main/trunk@2567 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/fam_01service.cpp')
-rw-r--r--protocols/IcqOscarJ/src/fam_01service.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/fam_01service.cpp b/protocols/IcqOscarJ/src/fam_01service.cpp
index 9bc06f19ab..228754e7ec 100644
--- a/protocols/IcqOscarJ/src/fam_01service.cpp
+++ b/protocols/IcqOscarJ/src/fam_01service.cpp
@@ -585,7 +585,7 @@ char* CIcqProto::buildUinList(int subtype, WORD wMaxLen, HANDLE* hContactResume)
add = 0;
// Never add hidden contacts to CS list
- if (DBGetContactSettingByte(hContact, "CList", "Hidden", 0))
+ if (db_get_b(hContact, "CList", "Hidden", 0))
add = 0;
break;
@@ -689,7 +689,7 @@ void CIcqProto::setUserInfo()
//MIM/PackName
bool bHasPackName = false;
DBVARIANT dbv;
- if ( !DBGetContactSettingString(NULL, "ICQCaps", "PackName", &dbv )) {
+ if ( !db_get_s(NULL, "ICQCaps", "PackName", &dbv )) {
//MIM/PackName
bHasPackName = true;
wAdditionalData += 16;
@@ -771,7 +771,7 @@ void CIcqProto::setUserInfo()
//MIM/PackName
if ( bHasPackName ) {
packBuffer(&packet, (BYTE*)dbv.pszVal, 0x10);
- ICQFreeVariant(&dbv);
+ db_free(&dbv);
}
if(!CustomCapList.empty())