diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-11 12:19:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-11 12:19:07 +0300 |
commit | dafd9a18a4b1573ff536e3db851e9e40a345c201 (patch) | |
tree | 7f6ead2892b30e109538eca380fde392240700ad /plugins/StatusManager | |
parent | eb37be750853ee7e21406100e90b96469d501d36 (diff) |
custom references to "PluginDisable" module removed
Diffstat (limited to 'plugins/StatusManager')
-rw-r--r-- | plugins/StatusManager/src/options.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/StatusManager/src/options.cpp b/plugins/StatusManager/src/options.cpp index 366d834b81..c59fff95fe 100644 --- a/plugins/StatusManager/src/options.cpp +++ b/plugins/StatusManager/src/options.cpp @@ -69,12 +69,8 @@ int OnCommonOptionsInit(WPARAM wParam, LPARAM) static bool IsSubPluginEnabled(const char *name) { - // Check if this plugin was disabled as separate dll - CMStringA dllName(FORMAT, "%s.dll", name); - dllName.MakeLower(); - bool res = !db_get_b(0, "PluginDisable", dllName); - - db_unset(0, "PluginDisable", dllName); + bool res = IsPluginOnWhiteList(name); + SetPluginOnWhiteList(name, true); return res; } |