summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_avatars.cpp
diff options
context:
space:
mode:
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;
}