about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2007-10-13 20:45:11 +0000
committerFlorian Westphal <fw@strlen.de>2007-10-13 20:45:11 +0000
commitb160f574dee613598d3adcb46169d898ca45f252 (patch)
tree4a2f6f41f7412205949d34159a39b3eb43b4ca04
parentd223b587e4a3fc76ff8f8f1068c7a09dc6d9ac59 (diff)
downloadngircd-b160f574dee613598d3adcb46169d898ca45f252.tar.gz
ngircd-b160f574dee613598d3adcb46169d898ca45f252.zip
fix doc and manpage wrt. MaxConnections, MaxConnectionsIP and MaxJoins values
-rw-r--r--doc/sample-ngircd.conf10
-rw-r--r--man/ngircd.conf.5.tmpl8
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index d99ad969..e17b0e60 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf
@@ -1,4 +1,4 @@
-# $Id: sample-ngircd.conf,v 1.40 2007/10/04 10:14:52 alex Exp $
+# $Id: sample-ngircd.conf,v 1.41 2007/10/13 20:45:11 fw Exp $
 
 #
 # This is a sample configuration file for the ngIRCd, which must be adepted
@@ -101,14 +101,14 @@
 	;PredefChannelsOnly = no
 
 	# Maximum number of simultaneous connection the server is allowed
-	# to accept (<=0: unlimited):
-	;MaxConnections = -1
+	# to accept (0: unlimited):
+	;MaxConnections = 0
 
 	# Maximum number of simultaneous connections from a single IP address
-	# the server will accept (<=0: unlimited):
+	# the server will accept (0: unlimited):
 	;MaxConnectionsIP = 5
 
-	# Maximum number of channels a user can be member of (<=0: no limit):
+	# Maximum number of channels a user can be member of (0: no limit):
 	;MaxJoins = 10
 
 [Operator]
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
index b8630299..f2443671 100644
--- a/man/ngircd.conf.5.tmpl
+++ b/man/ngircd.conf.5.tmpl
@@ -1,5 +1,5 @@
 .\"
-.\" $Id: ngircd.conf.5.tmpl,v 1.3 2007/06/28 05:15:14 fw Exp $
+.\" $Id: ngircd.conf.5.tmpl,v 1.4 2007/10/13 20:45:12 fw Exp $
 .\"
 .TH ngircd.conf 5 "August 2005" ngircd "ngIRCd Manual"
 .SH NAME
@@ -153,15 +153,15 @@ the config file.
 .TP
 \fBMaxConnections\fR
 Maximum number of simultaneous connection the server is allowed to accept
-(<=0: unlimited). Default: -1.
+(0: unlimited). Default: 0.
 .TP
 \fBMaxConnectionsIP\fR
 Maximum number of simultaneous connections from a single IP address that
-the server will accept (<=0: unlimited). This configuration options lowers
+the server will accept (0: unlimited). This configuration options lowers
 the risk of denial of service attacks (DoS). Default: 5.
 .TP
 \fBMaxJoins\fR
-Maximum number of channels a user can be member of (<=0: no limit).
+Maximum number of channels a user can be member of (0: no limit).
 Default: 10.
 .SH [OPERATOR]
 .I [Operator]