1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-08 21:45:58 +00:00

do not add default listening port if ssl ports were specified

Cosmo Kastemaa reported that its impossible to create an ssl-only setup,
as ngircd binds to port 6667 by default, even if setting "Ports =".

Only add the default port if _both_ "Ports" and "SSLPorts" are
unspecified.

Fixes bugzilla #98.
This commit is contained in:
Florian Westphal
2009-08-31 19:42:59 +02:00
parent 5f1e43416a
commit cf7e19193b
2 changed files with 20 additions and 7 deletions

View File

@@ -75,7 +75,8 @@ command.
.TP
\fBPorts\fR
Ports on which the server should listen. There may be more than one port,
separated with commas (","). Default: 6667.
separated with commas (","). Default: 6667, unless \fBSSL_Ports\fR are also
specified.
.TP
\fBSSLPorts\fR
Same as \fBPorts\fR , except that ngIRCd will expect incoming connections