diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-04 16:05:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-04 16:05:04 +0000 |
commit | a4a275e150788c7b3da197a26899a2afad393768 (patch) | |
tree | 3ea7388e3ba2a1fffe20de14a4b70c40c1e3a291 /protocols/Yahoo/im.cpp | |
parent | ab2438d317799cc265c6f392f877947c61ecd585 (diff) |
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@298 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/im.cpp')
-rw-r--r-- | protocols/Yahoo/im.cpp | 4 |
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);
|