summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Events.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-08 20:22:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-08 20:22:07 +0000
commit71f9ef9ded15566ee811508a6c9b8eee21facfa8 (patch)
tree57e5de5cb549b3d83475306c09897e27a5cf47ec /plugins/PluginUpdater/src/Events.cpp
parent1f0a5302f57c29d538d6633c080458df0ac3d5f7 (diff)
- reminder removed;
- double "Update" click fixed; - "once a day" option is enabled by default git-svn-id: http://svn.miranda-ng.org/main/trunk@1410 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Events.cpp')
-rw-r--r--plugins/PluginUpdater/src/Events.cpp4
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