summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_avatars.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-26 20:54:36 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-26 20:54:36 +0000
commit3361d33bd5782edb07270518705a41f4cd57697b (patch)
treed2b06dbe5de48c64218f18102e29f1c354283ce0 /protocols/Skype/src/skype_avatars.cpp
parent949435479e650de8bc0c0e192dc879a3e8afacca (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_avatars.cpp')
-rw-r--r--protocols/Skype/src/skype_avatars.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_avatars.cpp b/protocols/Skype/src/skype_avatars.cpp
index afb2dac02f..9b2781725e 100644
--- a/protocols/Skype/src/skype_avatars.cpp
+++ b/protocols/Skype/src/skype_avatars.cpp
@@ -89,7 +89,7 @@ INT_PTR __cdecl CSkypeProto::GetAvatarInfo(WPARAM, LPARAM lParam)
{
PROTO_AVATAR_INFORMATIONW *pai = (PROTO_AVATAR_INFORMATIONW*)lParam;
- if (this->GetSettingWord(pai->hContact, "AvatarTS"))
+ if (::db_get_dw(pai->hContact, this->m_szModuleName, "AvatarTS", 0))
{
return GAIR_NOAVATAR;
}
@@ -204,13 +204,13 @@ INT_PTR __cdecl CSkypeProto::SetMyAvatar(WPARAM, LPARAM lParam)
}
uint newTS = this->account->GetUintProp(/* *::P_AVATAR_TIMESTAMP */ 182);
- this->SetSettingDword("AvatarTS", newTS);
+ ::db_set_dw(NULL, this->m_szModuleName, "AvatarTS", newTS);
iRet = 0;
}
else
{
this->account->SetBinProperty(Account::P_AVATAR_IMAGE, SEBinary());
- this->DeleteSetting("AvatarTS");
+ ::db_unset(NULL, this->m_szModuleName, "AvatarTS");
iRet = 0;
}