summaryrefslogtreecommitdiff
path: root/src/modules/plugins/newplugins.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/plugins/newplugins.cpp')
-rw-r--r--src/modules/plugins/newplugins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp
index 38f583b12a..14378fd5e8 100644
--- a/src/modules/plugins/newplugins.cpp
+++ b/src/modules/plugins/newplugins.cpp
@@ -480,7 +480,7 @@ void SetPluginOnWhiteList(const TCHAR* pluginname, int allow)
int isPluginOnWhiteList(const TCHAR* pluginname)
{
char* pluginnameA = _strlwr(mir_t2a(pluginname));
- int rc = DBGetContactSettingByte(NULL, PLUGINDISABLELIST, pluginnameA, 0);
+ int rc = db_get_b(NULL, PLUGINDISABLELIST, pluginnameA, 0);
mir_free(pluginnameA);
if (rc != 0 && askAboutIgnoredPlugins) {
TCHAR buf[256];