summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/ui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:20:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:20:29 +0000
commitbfad803f0247a7395ed67eb04c190b3dfa511b0c (patch)
treef128d4f70a89b170500b659a815d66a9bd983d98 /protocols/AimOscar/src/ui.cpp
parent6ce6a5277e749cf6082ae42f005b68b3ec763c6c (diff)
protocol DB helpers for AimOscar
git-svn-id: http://svn.miranda-ng.org/main/trunk@5315 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/ui.cpp')
-rw-r--r--protocols/AimOscar/src/ui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/AimOscar/src/ui.cpp b/protocols/AimOscar/src/ui.cpp
index 7011320cab..b7bac0cb13 100644
--- a/protocols/AimOscar/src/ui.cpp
+++ b/protocols/AimOscar/src/ui.cpp
@@ -880,7 +880,7 @@ static INT_PTR CALLBACK options_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LP
if (strlen(str)>0)
ppro->setString(AIM_KEY_SN, str);
else
- db_unset(NULL, ppro->m_szModuleName, AIM_KEY_SN);
+ ppro->delSetting(AIM_KEY_SN);
//END SN
//NK
@@ -900,7 +900,7 @@ static INT_PTR CALLBACK options_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LP
CallService(MS_DB_CRYPT_ENCODESTRING, sizeof(str), (LPARAM) str);
ppro->setString(AIM_KEY_PW, str);
}
- else db_unset(NULL, ppro->m_szModuleName, AIM_KEY_PW);
+ else ppro->delSetting(AIM_KEY_PW);
//END PW
//HN
@@ -908,7 +908,7 @@ static INT_PTR CALLBACK options_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LP
if (strlen(str)>0 && strcmp(str, AIM_DEFAULT_SERVER))
ppro->setString(AIM_KEY_HN, str);
else
- db_unset(NULL, ppro->m_szModuleName, AIM_KEY_HN);
+ ppro->delSetting(AIM_KEY_HN);
//END HN
//Delivery Confirmation
@@ -936,7 +936,7 @@ static INT_PTR CALLBACK options_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LP
if (port > 0 && port != ppro->getByte(AIM_KEY_DSSL, 0) ? AIM_DEFAULT_PORT : AIM_DEFAULT_SSL_PORT)
ppro->setWord(AIM_KEY_PN, (WORD)port);
else
- db_unset(NULL, ppro->m_szModuleName, AIM_KEY_PN);
+ ppro->delSetting(AIM_KEY_PN);
//END PN
//Disable Account Type Icons