summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/src/main.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-12-20 16:13:56 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-12-20 16:13:56 +0000
commit24ef168d9820f7bb07f46bad15e2feacce47280a (patch)
treea3d002eda7483076ba1e5f67154b8f2aa18c9d42 /plugins/Db_autobackups/src/main.cpp
parentb76c5a1d907f6310d38230cc6aec2caf7dcc34be (diff)
Db_autobackups: fix for dropbox setting
git-svn-id: http://svn.miranda-ng.org/main/trunk@15913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/src/main.cpp')
-rw-r--r--plugins/Db_autobackups/src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp
index f32c673ee2..8e505794ac 100644
--- a/plugins/Db_autobackups/src/main.cpp
+++ b/plugins/Db_autobackups/src/main.cpp
@@ -86,6 +86,7 @@ static int ModulesLoad(WPARAM, LPARAM)
HookEvent(ME_FOLDERS_PATH_CHANGED, FoldersGetBackupPath);
FoldersGetBackupPath(0, 0);
}
+ options.use_dropbox = (BOOL)(db_get_b(0, "AutoBackups", "UseDropbox", 0) && ServiceExists(MS_DROPBOX_SEND_FILE));
if (options.backup_types & BT_START)
BackupStart(NULL);