From f72b507e6302602f14b8a5f47524dc147cd61ddd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 Jul 2014 07:57:21 +0000 Subject: also wrong default value fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@9961 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 cbaacb6f7e..56ccad500d 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", UPDATE_MODE_STABLE)) { + if (!db_get_b(0, MODNAME, "UpdateMode", 0)) { ptrA dbvUpdateURL(db_get_sa(0, MODNAME, "UpdateURL")); if (dbvUpdateURL) { if (!strcmp(dbvUpdateURL, DEFAULT_UPDATE_URL)) { -- cgit v1.2.3