repo: ngircd
action: commit
revision: 
path_from: 
revision_from: b160f574dee613598d3adcb46169d898ca45f252:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit b160f574dee613598d3adcb46169d898ca45f252
Author: Florian Westphal 
Date:   Sat Oct 13 20:45:11 2007 +0000

    fix doc and manpage wrt. MaxConnections, MaxConnectionsIP and MaxJoins values

diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index d99ad969beba99db91f5ad8607d61da3a1f49a66..
index ..e17b0e60690dd5b46a886985391acc7a083c3b9d 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 b86302995fb4b8d851b7fa2d8011fd505f5ea134..
index ..f2443671b1bebc809f2c3eae3f06d4b1dc46b1ea 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]

-----END OF PAGE-----