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 » Tue Jan 08, 2013 4:08 am

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
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: 3.2.10 allow/deny channel

Post by katsklaw » Tue Jan 08, 2013 4:06 pm

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.

Jobe1986
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: 3.2.10 allow/deny channel

Post by Jobe1986 » Tue Jan 08, 2013 10:05 pm

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

dstasinski
Posts: 3
Joined: Mon Aug 20, 2012 6:45 am

Re: 3.2.10 allow/deny channel

Post by dstasinski » Thu Jan 10, 2013 11:51 pm

That worked, thank you :)

Daniel

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

Re: 3.2.10 allow/deny channel

Post by Syzop » Fri Jan 11, 2013 6:07 pm

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