From 7dfa4fde6c5111aa9a761fb6d535fcd904e91805 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 Jul 2014 08:12:59 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@9963 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/PluginUpdater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index 7f41ba7208..d0678e91e5 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -140,7 +140,7 @@ extern "C" __declspec(dllexport) int Load(void) SkinAddNewSoundEx("updatefailed", LPGEN("Plugin Updater"), LPGEN("Update failed")); // Upgrade old settings - if (!db_get_b(0, MODNAME, "UpdateMode", 0)) { + if (-1 == db_get_b(0, MODNAME, "UpdateMode", -1)) { ptrA dbvUpdateURL(db_get_sa(0, MODNAME, "UpdateURL")); if (dbvUpdateURL) { if (!strcmp(dbvUpdateURL, DEFAULT_UPDATE_URL)) { -- cgit v1.2.3