Page 1 of 1

3.2.10 allow/deny channel

Posted: Tue Jan 08, 2013 4:08 am
by dstasinski
Has the behavior of allow/deny channel changed since 3.2.9? This no longer seems to work. This used to work to disable all channels except for the allow list.

deny channel {
channel "#*";
reason "This channel is not available.";
};

allow channel {
channel "#Attic";
channel "#Basement";
channel "#Patio";
};

Re: 3.2.10 allow/deny channel

Posted: Tue Jan 08, 2013 4:06 pm
by katsklaw
Yes, allow/deny now allows for and optional class definition. I was going to refer you to the docs but they dont seem to be updated either.

Perhaps stealth or syzop can shed light.

Re: 3.2.10 allow/deny channel

Posted: Tue Jan 08, 2013 10:05 pm
by Jobe1986
As we found out with a similar case in #unreal-support earlier, the behaviour has changed, but only in that each channel being exempted by an allow channel block must have its own separate allow channel block.

Re: 3.2.10 allow/deny channel

Posted: Thu Jan 10, 2013 11:51 pm
by dstasinski
That worked, thank you :)

Daniel

Re: 3.2.10 allow/deny channel

Posted: Fri Jan 11, 2013 6:07 pm
by Syzop
I see. Support for that (undocumented) feature was accidentally broken by the class patch which katsklaw mentioned. It now works again in the development version.
Commit: http://hg.unrealircd.com/hg/unreal/rev/6f401411763f