Allow "DefaultUserModes" to set all possible modes
authorAlexander Barton <alex@barton.de>
Tue, 18 Mar 2014 15:43:21 +0000 (16:43 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 18 Mar 2014 15:43:21 +0000 (16:43 +0100)
commitd314c75a37f0132a1a16658494d0f60a0c0083f2
treeb2975e3f2e8a04a2e1184af65a57bad3272a8149
parent5009ab3e8c5a6fe7db5c5ad1d3fdc8aecfc64b55
Allow "DefaultUserModes" to set all possible modes

Let IRC_MODE() detect that the "fake" MODE command originated on the local
sever, which enables all modes to be settable using "DefaultUserModes"
that can be set by regular MODE commands, including modes only settable by
IRC Operators.
doc/sample-ngircd.conf.tmpl
man/ngircd.conf.5.tmpl
src/ngircd/irc-mode.c
src/ngircd/login.c