summaryrefslogtreecommitdiff
path: root/plugins/QuickMessages/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickMessages/src/main.cpp')
-rw-r--r--plugins/QuickMessages/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/QuickMessages/src/main.cpp b/plugins/QuickMessages/src/main.cpp
index e43b9b3fcb..3308f6811f 100644
--- a/plugins/QuickMessages/src/main.cpp
+++ b/plugins/QuickMessages/src/main.cpp
@@ -263,10 +263,10 @@ static int PluginInit(WPARAM, LPARAM)
HookTemporaryEvent(ME_MSG_TOOLBARLOADED, RegisterCustomButton);
- g_bRClickAuto = db_get_b(NULL, MODULENAME, "RClickAuto", 0);
- g_bLClickAuto = db_get_b(NULL, MODULENAME, "LClickAuto", 0);
- g_iButtonsCount = db_get_b(NULL, MODULENAME, "ButtonsCount", 0);
- g_bQuickMenu = db_get_b(NULL, MODULENAME, "QuickMenu", 1);
+ g_bRClickAuto = g_plugin.getByte("RClickAuto", 0);
+ g_bLClickAuto = g_plugin.getByte("LClickAuto", 0);
+ g_iButtonsCount = g_plugin.getByte("ButtonsCount", 0);
+ g_bQuickMenu = g_plugin.getByte("QuickMenu", 1);
InitButtonsList();