summaryrefslogtreecommitdiff
path: root/MySpace/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MySpace/proto.cpp')
-rw-r--r--MySpace/proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/MySpace/proto.cpp b/MySpace/proto.cpp
index 8a04e6a..fdf05b8 100644
--- a/MySpace/proto.cpp
+++ b/MySpace/proto.cpp
@@ -352,7 +352,7 @@ int GetAvatarInfo(WPARAM wParam,LPARAM lParam) {
int ret = GAIR_NOAVATAR;
DBVARIANT dbv, dbv2;
- bool url_exists = (DBGetContactSetting(AI->hContact, MODULE, "ImageURL", &dbv) == 0);
+ bool url_exists = (DBGetContactSettingString(AI->hContact, MODULE, "ImageURL", &dbv) == 0);
if(!url_exists) {
DBFreeVariant(&dbv);
return GAIR_NOAVATAR;
@@ -360,7 +360,7 @@ int GetAvatarInfo(WPARAM wParam,LPARAM lParam) {
bool online = (status > ID_STATUS_OFFLINE);
bool force = ((wParam & GAIF_FORCE) != 0);
- bool file_exists = (DBGetContactSetting(AI->hContact, MODULE, "AvatarFilename", &dbv2) == 0) && FileExists(dbv2.pszVal);
+ bool file_exists = (DBGetContactSettingString(AI->hContact, MODULE, "AvatarFilename", &dbv2) == 0) && FileExists(dbv2.pszVal);
if(force && online) {
if(file_exists) {