summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 5124f93dba..4d783a5d25 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1060,6 +1060,9 @@ rend_consider_services_upload(time_t now)
rend_service_t *service;
int rendpostperiod = get_options()->RendPostPeriod;
+ if (!get_options()->PublishHidServDescriptors)
+ return;
+
for (i=0; i < smartlist_len(rend_service_list); ++i) {
service = smartlist_get(rend_service_list, i);
if (!service->next_upload_time) { /* never been uploaded yet */