summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/options.cpp
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/AvatarHistory/src/options.cpp
parent488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff)
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/AvatarHistory/src/options.cpp')
-rw-r--r--plugins/AvatarHistory/src/options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AvatarHistory/src/options.cpp b/plugins/AvatarHistory/src/options.cpp
index 3ea17f3fff..900bdf1c7a 100644
--- a/plugins/AvatarHistory/src/options.cpp
+++ b/plugins/AvatarHistory/src/options.cpp
@@ -170,7 +170,7 @@ void LoadOptions()
LoadOpts(optionsControls, _countof(optionsControls), MODULENAME);
LoadOpts(popupsControls, _countof(popupsControls), MODULENAME);
- opts.log_per_contact_folders = db_get_b(NULL, MODULENAME, "LogPerContactFolders", 0);
- opts.log_keep_same_folder = db_get_b(NULL, MODULENAME, "LogKeepSameFolder", 0);
- opts.log_store_as_hash = db_get_b(NULL, MODULENAME, "StoreAsHash", 1);
+ opts.log_per_contact_folders = g_plugin.getByte("LogPerContactFolders", 0);
+ opts.log_keep_same_folder = g_plugin.getByte("LogKeepSameFolder", 0);
+ opts.log_store_as_hash = g_plugin.getByte("StoreAsHash", 1);
}