diff options
Diffstat (limited to 'plugins/PluginUpdater/src/Events.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 295b9288cb..23d6fb26ca 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -25,9 +25,9 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
opts.bSilent = true;
- int iRestartCount = DBGetContactSettingByte(NULL, MODULEA, "RestartCount", 2);
+ int iRestartCount = DBGetContactSettingByte(NULL, MODNAME, "RestartCount", 2);
if (iRestartCount > 0)
- DBWriteContactSettingByte(NULL, MODULEA, "RestartCount", iRestartCount-1);
+ DBWriteContactSettingByte(NULL, MODNAME, "RestartCount", iRestartCount-1);
else
EmptyFolder(0, TRUE); // silently
|