summaryrefslogtreecommitdiff
path: root/updater/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'updater/services.cpp')
-rw-r--r--updater/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/services.cpp b/updater/services.cpp
index 90215b1..62e88b9 100644
--- a/updater/services.cpp
+++ b/updater/services.cpp
@@ -54,7 +54,7 @@ bool DownloadUpdates(UpdateList &todo, FilenameMap *map, bool dlls_only) {
mir_snprintf(stored_setting, SIZEOF(stored_setting), "DisabledVer%s", todo[index].update.szComponentName);
DBVARIANT dbv;
bool download = todo[index].update_options.enabled;
- if(!DBGetContactSetting(0, "Updater", stored_setting, &dbv)) {
+ if(!DBGetContactSettingString(0, "Updater", stored_setting, &dbv)) {
if(dbv.pszVal && strcmp(dbv.pszVal, todo[index].newVersion) == 0)
download = false;
else