summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/im.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Yahoo/im.cpp')
-rw-r--r--protocols/Yahoo/im.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Yahoo/im.cpp b/protocols/Yahoo/im.cpp
index 03360e2374..7478b1090b 100644
--- a/protocols/Yahoo/im.cpp
+++ b/protocols/Yahoo/im.cpp
@@ -213,7 +213,7 @@ int __cdecl CYahooProto::SendMsg( HANDLE hContact, int flags, const char* pszSrc
return 1;
}
- if (!DBGetContactSettingString( hContact, m_szModuleName, YAHOO_LOGINID, &dbv)) {
+ if (!GetString( hContact, YAHOO_LOGINID, &dbv)) {
send_msg(dbv.pszVal, GetWord( hContact, "yprotoid", 0), msg, (!bANSI) ? 1 : 0);
if (!bANSI)
@@ -262,7 +262,7 @@ INT_PTR __cdecl CYahooProto::SendNudge(WPARAM wParam, LPARAM lParam)
}
DBVARIANT dbv;
- if (!DBGetContactSettingString(hContact, m_szModuleName, YAHOO_LOGINID, &dbv)) {
+ if (!GetString(hContact, YAHOO_LOGINID, &dbv)) {
send_msg(dbv.pszVal, GetWord(hContact, "yprotoid", 0), "<ding>", 0);
DBFreeVariant(&dbv);