summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Yahoo/src/util.cpp')
-rw-r--r--protocols/Yahoo/src/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Yahoo/src/util.cpp b/protocols/Yahoo/src/util.cpp
index 5b315fc0df..aa5aa7803e 100644
--- a/protocols/Yahoo/src/util.cpp
+++ b/protocols/Yahoo/src/util.cpp
@@ -125,12 +125,12 @@ DWORD CYahooProto::SetDword( HANDLE hContact, const char* valueName, DWORD parVa
WORD CYahooProto::SetWord( HANDLE hContact, const char* valueName, int parValue )
{
- return db_get_w( hContact, m_szModuleName, valueName, parValue );
+ return db_set_w( hContact, m_szModuleName, valueName, parValue );
}
WORD CYahooProto::GetWord( HANDLE hContact, const char* valueName, int parDefltValue )
{
- return db_set_w( hContact, m_szModuleName, valueName, parDefltValue );
+ return db_get_w( hContact, m_szModuleName, valueName, parDefltValue );
}
DWORD CYahooProto::Set_Protocol( HANDLE hContact, int protocol )