Re: ratbox-services chanserv lax on flags.
Jilles Tjoelker <jilles <at> stack.nl>
2008-04-22 20:08:47 GMT
On Mon, Apr 21, 2008 at 09:10:52PM +0100, Lee H wrote:
> On Sun, Apr 20, 2008 at 11:39:01PM +0100, Chris Rees wrote:
> > I'm tweaking ircd-ratbox and ratbox-services etc, and find that when I
> > restart both (ircd-ratbox + ratbox-services), chanserv neglects to
> > apply modes, for example +i #operators.
> > This means that after a restart, channels are unmanaged until a
> > registered (channel) op jumps in, and sets the modes, which are then
> > enforced.
> > Why does it not seem to obey CREATEMODES, or have I misunderstood them?
> CREATEMODES is only used if chanserv is supposed to be in the channel
> generally (i.e. AUTOJOIN is on), or it is forced to join the channel for
> some other reason (i.e. to ban/kick or deop the only user in the channel,
> when a ban matches, or RESTRICTOPS/NOOPS are on respectively).
In fact, CREATEMODES is only used if chanserv is creating the channel or
lowering TS, both of which only happen if AUTOJOIN is on.
Note that if ENFORCEMODES is set, it is used and CREATEMODES is ignored;
a case could be made to OR them in that case, allowing for some modes to
be set by default but alterable by any chanop while forcing other modes
on at all times.
> There is a further conf option to chanserv called "autojoin_empty", which
> controls whether chanserv will create channels marked as AUTOJOIN. The
> default to this is off -- as being enabled tends to result in lots of
> channels that have noone but chanserv in them.