summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-11 12:19:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-11 12:19:07 +0300
commitdafd9a18a4b1573ff536e3db851e9e40a345c201 (patch)
tree7f6ead2892b30e109538eca380fde392240700ad /plugins/CrashDumper/src/utils.cpp
parenteb37be750853ee7e21406100e90b96469d501d36 (diff)
custom references to "PluginDisable" module removed
Diffstat (limited to 'plugins/CrashDumper/src/utils.cpp')
-rw-r--r--plugins/CrashDumper/src/utils.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/CrashDumper/src/utils.cpp b/plugins/CrashDumper/src/utils.cpp
index 8b59693f01..b67f389f15 100644
--- a/plugins/CrashDumper/src/utils.cpp
+++ b/plugins/CrashDumper/src/utils.cpp
@@ -415,12 +415,3 @@ void StoreStringToClip(CMStringW& buffer)
CloseClipboard();
}
}
-
-bool IsPluginEnabled(wchar_t* filename)
-{
- char* fname;
- crsi_t2a(fname, filename);
- char* ext = strstr(_strlwr(fname), ".dll");
- bool res = ext && ext[4] == '\0' && db_get_b(0, "PluginDisable", fname, 0) == 0;
- return res;
-}