summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r--plugins/PluginUpdater/src/Notifications.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp
index 2f88205946..775915d4f9 100644
--- a/plugins/PluginUpdater/src/Notifications.cpp
+++ b/plugins/PluginUpdater/src/Notifications.cpp
@@ -291,7 +291,10 @@ LBL_Skip:
FILEINFO& p = todo[i];
unzip(p.File.tszDiskPath, tszMirandaPath, tszFileTemp);
- DBWriteContactSettingString(NULL, MODNAME, _T2A(p.tszDescr), p.newhash);
+ char szFileName[MAX_PATH];
+ strncpy(szFileName, _T2A(p.tszDescr), SIZEOF(szFileName));
+ _strlwr(szFileName);
+ DBWriteContactSettingString(NULL, MODNAME, szFileName, p.newhash);
}
CallFunctionAsync(RestartMe, 0);