summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/crypt_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/crypt_check.cpp')
-rw-r--r--plugins/SecureIM/src/crypt_check.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SecureIM/src/crypt_check.cpp b/plugins/SecureIM/src/crypt_check.cpp
index d85f9e0e2b..0b9242d9e2 100644
--- a/plugins/SecureIM/src/crypt_check.cpp
+++ b/plugins/SecureIM/src/crypt_check.cpp
@@ -38,14 +38,14 @@ BYTE isContactSecured(MCONTACT hContact)
break;
case MODE_PGP:
- if (!db_get_s(hContact, MODULENAME, "pgp", &dbv)) {
+ if (!g_plugin.getString(hContact, "pgp", &dbv)) {
res |= SECURED;
db_free(&dbv);
}
break;
case MODE_GPG:
- if (!db_get_s(hContact, MODULENAME, "gpg", &dbv)) {
+ if (!g_plugin.getString(hContact, "gpg", &dbv)) {
res |= SECURED;
db_free(&dbv);
}
@@ -137,7 +137,7 @@ bool isContactPGP(MCONTACT hContact)
return false;
DBVARIANT dbv;
- if (db_get_s(hContact, MODULENAME, "pgp", &dbv)) return false;
+ if (g_plugin.getString(hContact, "pgp", &dbv)) return false;
db_free(&dbv);
return true;
}
@@ -151,7 +151,7 @@ bool isContactGPG(MCONTACT hContact)
return false;
DBVARIANT dbv;
- if (db_get_s(hContact, MODULENAME, "gpg", &dbv)) return false;
+ if (g_plugin.getString(hContact, "gpg", &dbv)) return false;
db_free(&dbv);
return true;
}