diff options
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/router.c b/src/or/router.c index 2cf762f65..e9cc3901e 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -884,14 +884,6 @@ server_mode(or_options_t *options) return (options->ORPort != 0 || options->ORListenAddress); } -/** Return true iff we are trying to be a directory server */ -int -dirserver_mode(or_options_t *options) -{ -// if (options->ClientOnly) return 0; - return options->DirPort != 0; -} - /** Remember if we've advertised ourselves to the dirservers. */ static int server_is_advertised=0; |