about summary refs log tree commit diff
path: root/doc/sample-ngircd.conf.tmpl
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-08-26 21:17:10 +0200
committerAlexander Barton <alex@barton.de>2013-08-26 21:17:10 +0200
commit2bacb8210b4f0807eb50587bcc4329c7ea7a50c3 (patch)
tree6ada7c4ec9a5e63a3e0e297d8c66c35f519a86a0 /doc/sample-ngircd.conf.tmpl
parent3b65f4e38d1ab019513f16b70581ae10574006e8 (diff)
downloadngircd-2bacb8210b4f0807eb50587bcc4329c7ea7a50c3.tar.gz
ngircd-2bacb8210b4f0807eb50587bcc4329c7ea7a50c3.zip
Implement new configuration option "DefaultUserModes"
The new configuration option "DefaultUserModes" lists user modes that
become automatically set on new local clients right after login.

Please note that only modes can be set that the client could set on
itself, you can't set "a" (away) or "o" (IRC Op), for example! User
modes "i" (invisible) or "x" (cloaked) etc. are "interesting", though.

Default: set no modes (like without this patch).

Closes bug #160.
Diffstat (limited to 'doc/sample-ngircd.conf.tmpl')
-rw-r--r--doc/sample-ngircd.conf.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index 99960e95..ae1b2139 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -165,7 +165,12 @@
 	;ConnectIPv6 = yes
 	;ConnectIPv4 = yes
 
-	# Do any DNS lookups when a client connects to the server.
+	# Default user mode(s) to set on new local clients. Please note that
+	# only modes can be set that the client could set on itself, you can't
+	# set "a" (away) or "o" (IRC Op), for example! Default: none.
+	;DefaultUserModes = i
+
+	# Do DNS lookups when a client connects to the server.
 	;DNS = yes
 
 	# Do IDENT lookups if ngIRCd has been compiled with support for it.