summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-19 15:22:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-19 15:22:11 +0000
commitb0b7cd90e972155a488b017eae3122ca8ac11ca8 (patch)
tree492b159a318acefcebb522959123a0ee7e0c71d8 /plugins/SecureIM/src/main.cpp
parent753aa1585f9e0939cba3073f8ef2c70972a47b62 (diff)
- returned back SecureIM option for the extra icons usage;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2376 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/main.cpp')
-rw-r--r--plugins/SecureIM/src/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp
index 23ee788a76..de8015d342 100644
--- a/plugins/SecureIM/src/main.cpp
+++ b/plugins/SecureIM/src/main.cpp
@@ -238,10 +238,10 @@ int __cdecl onModulesLoaded(WPARAM wParam,LPARAM lParam) {
#if defined(_DEBUG) || defined(NETLIB_LOG)
Sent_NetLog("pgp_init");
#endif
- bPGP = DBGetContactSettingByte(0, szModuleName, "pgp", 0);
+ bPGP = db_get_b(0, szModuleName, "pgp", 0);
if(bPGP) { //PGP
bPGPloaded = pgp_init();
- bUseKeyrings = DBGetContactSettingByte(0,szModuleName,"ukr",1);
+ bUseKeyrings = db_get_b(0,szModuleName,"ukr",1);
LPSTR priv = myDBGetStringDecode(0,szModuleName,"pgpPrivKey");
if(priv) {
bPGPprivkey = true;
@@ -285,7 +285,7 @@ int __cdecl onModulesLoaded(WPARAM wParam,LPARAM lParam) {
#if defined(_DEBUG) || defined(NETLIB_LOG)
Sent_NetLog("gpg_init");
#endif
- bGPG = DBGetContactSettingByte(0, szModuleName, "gpg", 0);
+ bGPG = db_get_b(0, szModuleName, "gpg", 0);
if(bGPG) { //GPG
LPSTR tmp;
@@ -306,7 +306,7 @@ int __cdecl onModulesLoaded(WPARAM wParam,LPARAM lParam) {
mir_free(tmp);
}
- if(DBGetContactSettingByte(0, szModuleName, "gpgLogFlag",0)) {
+ if(db_get_b(0, szModuleName, "gpgLogFlag",0)) {
tmp = myDBGetString(0,szModuleName,"gpgLog");
if(tmp) {
gpg_set_log(tmp);
@@ -314,7 +314,7 @@ int __cdecl onModulesLoaded(WPARAM wParam,LPARAM lParam) {
}
}
- if(DBGetContactSettingByte(0, szModuleName, "gpgTmpFlag",0)) {
+ if(db_get_b(0, szModuleName, "gpgTmpFlag",0)) {
tmp = myDBGetString(0,szModuleName,"gpgTmp");
if(tmp) {
gpg_set_tmp(tmp);
@@ -332,7 +332,7 @@ int __cdecl onModulesLoaded(WPARAM wParam,LPARAM lParam) {
DBDeleteContactSetting(0, szModuleName, "gpgHome");
}
- bSavePass = DBGetContactSettingByte(0,szModuleName,"gpgSaveFlag",0);
+ bSavePass = db_get_b(0,szModuleName,"gpgSaveFlag",0);
if(bSavePass) {
tmp = myDBGetString(0,szModuleName,"gpgSave");
if(tmp) {