|
@@ -910,7 +910,7 @@ run_scheduled_events(time_t now)
|
|
|
* (if we've passed our internal checks). */
|
|
|
if (time_to_fetch_directory < now) {
|
|
|
/* Only caches actually need to fetch directories now. */
|
|
|
- if (options->DirPort && !options->V1AuthoritativeDir) {
|
|
|
+ if (options->DirPort && !authdir_mode_v1(options)) {
|
|
|
/* XXX actually, we should only do this if we want to advertise
|
|
|
* our dirport. not simply if we configured one. -RD */
|
|
|
if (any_trusted_dir_is_v1_authority())
|