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 8b43d8a..d17c338 100644
--- a/updater/scan.cpp
+++ b/updater/scan.cpp
@@ -98,7 +98,7 @@ void ScanPlugins(FilenameMap *fn_map, UpdateList *update_list)
// this setting may not be there for running plugins - and isn't there for new ones. So,
// we'll disable anything new when the setting isn't found anyway - but we write the
// value below for all plugins so that we can expect to find it
- char *lowname = mir_t2a(findData.cFileName); _strlwr(lowname);
+ char *lowname = _strlwr(mir_t2a(findData.cFileName));
if(DBGetContactSettingByte(0, "PluginDisable", lowname, 255) == 255) // setting not present
DBWriteContactSettingByte(0, "PluginDisable", lowname, 0);
mir_free(lowname);