summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-05-04 20:45:38 +0000
committerRoger Dingledine <arma@torproject.org>2005-05-04 20:45:38 +0000
commit1f263bf6f5b508bfb283a91020bf90365897c9a8 (patch)
treed0487318382d48bd0f48a77ee53de56e8522a98f
parent68ba303323278b01def671b5b16b9f09b0c9e716 (diff)
downloadtor-1f263bf6f5b508bfb283a91020bf90365897c9a8.tar.gz
tor-1f263bf6f5b508bfb283a91020bf90365897c9a8.zip
whine at you if you're a server and you don't set your contactinfo
svn:r4178
-rw-r--r--src/or/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index f374d8ab46..7fc718902d 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1282,6 +1282,9 @@ options_validate(or_options_t *options)
}
}
+ if (server_mode(options) && !options->ContactInfo)
+ log_fn(LOG_NOTICE,"Your ContactInfo config option is not set. Please consider setting it, so we can contact you if your server is misconfigured or something else goes wrong.");
+
if (normalize_log_options(options))
return -1;