3.2.10 allow/deny channel

These are old archives. They are kept for historic purposes only.
Post Reply
dstasinski
Posts: 3
Joined: Mon Aug 20, 2012 6:45 am

3.2.10 allow/deny channel

Post 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";
};
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: 3.2.10 allow/deny channel

Post 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.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: 3.2.10 allow/deny channel

Post by Jobe »

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.
Your IP: Image
Your Country: Image
dstasinski
Posts: 3
Joined: Mon Aug 20, 2012 6:45 am

Re: 3.2.10 allow/deny channel

Post by dstasinski »

That worked, thank you :)

Daniel
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: 3.2.10 allow/deny channel

Post 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
Post Reply