summaryrefslogtreecommitdiff
path: root/src/controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.cpp')
-rw-r--r--src/controller.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/controller.cpp b/src/controller.cpp
index b77bab7b..f0d90d25 100644
--- a/src/controller.cpp
+++ b/src/controller.cpp
@@ -357,7 +357,7 @@ int Controller::run(const CliArgsParser& args)
}
api = new MinifluxApi(cfg);
- urlcfg = new MinifluxUrlReader(configpaths.url_file(), api);
+ urlcfg = new MinifluxUrlReader(&cfg, configpaths.url_file(), api);
} else if (type == "inoreader") {
const auto all_set = !cfg.get_configvalue("inoreader-app-id").empty()
&& !cfg.get_configvalue("inoreader-app-key").empty();
@@ -507,7 +507,6 @@ int Controller::run(const CliArgsParser& args)
return EXIT_SUCCESS;
}
-
// if configured, we fill all query feeds with some data; no need to
// sort it, it will be refilled when actually opening it.
if (cfg.get_configvalue_as_bool("prepopulate-query-feeds")) {