whine at you if you're a server and you don't set your contactinfo

svn:r4178
This commit is contained in:
Roger Dingledine 2005-05-04 20:45:38 +00:00
parent 68ba303323
commit 1f263bf6f5

View File

@ -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;