deny forbid channels

These are old archives. They are kept for historic purposes only.
Post Reply
root
Posts: 3
Joined: Mon Jul 12, 2004 4:55 pm

deny forbid channels

Post by root »

Hello,

I use Unreal 3.2.1 and I would like to know if it's possible to deny all channels starting with non-alphanumeric (a-z 0-9).

Actually, I deny them one by one like:

deny channel {
channel "#!*";
reason "forbid channel";
};

deny channel {
channel "#-*";
reason "forbid channel";
};

Can I block them with only one command ?

Any suggestion ?

If not ... how can I deny channels starting with * and ? , ie:

#*myroom
#?myroom

Thanks
root
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Well, seeing as how there are 255 characters, it might be easier to specifically allow those that DO start with a-z 0-9.

allow channel {
mask "#a*";
};

...

That way you only need to list 36 entries rather than 219. Other than that though, no you can't do it in a single command. At least not yet. Regexp support is on my todo list.
-- codemastr
root
Posts: 3
Joined: Mon Jul 12, 2004 4:55 pm

Post by root »

Oh yeah .. where's my mind !! :\ Thanks codemastr !

I've allowed a-z 0-9 and then after I've denied:

deny channel {
channel "*";
reason "forbid channel";
};

Everything works good ! :D
root
Post Reply