diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-14 15:42:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-14 15:42:10 +0300 |
commit | 4b933c7b73a4151872dea3119685cdebe40532c7 (patch) | |
tree | d58bb1bdbfb37f2cd87d79da975cdf4d2c1f131f /plugins/Clist_blind/src/init.cpp | |
parent | ba688c1ade0ac44a02294dda3e486469820bb31a (diff) |
Clist_blind -> g_plugin
Diffstat (limited to 'plugins/Clist_blind/src/init.cpp')
-rw-r--r-- | plugins/Clist_blind/src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp index e369207db3..98f33a664d 100644 --- a/plugins/Clist_blind/src/init.cpp +++ b/plugins/Clist_blind/src/init.cpp @@ -117,8 +117,8 @@ static INT_PTR GetStatusMode(WPARAM, LPARAM) int CMPlugin::Load()
{
- g_bSortByStatus = db_get_b(0, "CList", "SortByStatus", SETTING_SORTBYSTATUS_DEFAULT);
- g_bSortByProto = db_get_b(0, "CList", "SortByProto", SETTING_SORTBYPROTO_DEFAULT);
+ g_bSortByStatus = g_plugin.getByte("SortByStatus", SETTING_SORTBYSTATUS_DEFAULT);
+ g_bSortByProto = g_plugin.getByte("SortByProto", SETTING_SORTBYPROTO_DEFAULT);
Clist_GetInterface();
coreCli = g_clistApi;
|