summaryrefslogtreecommitdiff
path: root/updater/scan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'updater/scan.cpp')
-rw-r--r--updater/scan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/scan.cpp b/updater/scan.cpp
index 21e9311..8b43d8a 100644
--- a/updater/scan.cpp
+++ b/updater/scan.cpp
@@ -284,7 +284,7 @@ bool RearrangeDllsWorker(char *shortName, StrList &filenames, TCHAR *basedir)
// disable any new plugins (i.e. not installed before) that somehome got into the
// dowloaded archives (e.g. loadavatars comes with loadavatarsw - installing both is not good!)
- char *temp_str = mir_t2a(fileName);
+ char *temp_str = _strlwr(mir_t2a(fileName));
disabled_val = DBGetContactSettingByte(0, "PluginDisable", temp_str, 255);
if (disabled_val == 255) { // assume this means setting not in db (should be 1 or 0)
DBWriteContactSettingByte(0, "PluginDisable", temp_str, 1);