summaryrefslogtreecommitdiff
path: root/plugins/StatusManager
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-12 21:44:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-12 21:44:56 +0300
commit53fe3e46177d17b4941610de19f5cc6210700cb4 (patch)
treeb67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/StatusManager
parent488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff)
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/StatusManager')
-rw-r--r--plugins/StatusManager/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/options.cpp b/plugins/StatusManager/src/options.cpp
index ee375493df..366d834b81 100644
--- a/plugins/StatusManager/src/options.cpp
+++ b/plugins/StatusManager/src/options.cpp
@@ -81,7 +81,7 @@ static bool IsSubPluginEnabled(const char *name)
void InitCommonOptions()
{
// if this options dialog was never filled, apply default options
- if (db_get_b(0, MODULENAME, AAAMODULENAME "_enabled", -1) == -1) {
+ if (g_plugin.getByte(AAAMODULENAME "_enabled", -1) == -1) {
g_AAAEnabled = IsSubPluginEnabled(AAAMODULENAME);
g_KSEnabled = IsSubPluginEnabled(KSMODULENAME);
g_SSEnabled = IsSubPluginEnabled(SSMODULENAME);