summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 96c3190b56..4fc01ff582 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -722,7 +722,9 @@ void DoCheck(int iFlag)
SetFocus(hwndDialog);
}
else if (iFlag) {
- db_set_dw(NULL, MODNAME, "LastUpdate", time(NULL));
+ #if MIRANDA_VER < 0x0A00
+ db_set_dw(NULL, MODNAME, "LastUpdate", time(NULL));
+ #endif
hCheckThread = mir_forkthread(CheckUpdates, 0);
}
}