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 4e2eb89ca1..a82e0261b8 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -36,9 +36,9 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) opts.bSilent = true;
- int iRestartCount = DBGetContactSettingByte(NULL, MODNAME, "RestartCount", 2);
+ int iRestartCount = db_get_b(NULL, MODNAME, "RestartCount", 2);
if (iRestartCount > 0)
- DBWriteContactSettingByte(NULL, MODNAME, "RestartCount", iRestartCount-1);
+ db_set_b(NULL, MODNAME, "RestartCount", iRestartCount-1);
else
EmptyFolder(0, TRUE); // silently
|