Page 1 of 1

Controled Rooms.

Posted: Mon Jun 06, 2005 7:13 pm
by DeMiNe0
Heyya, Is there a module or trick i can do that stops users from getting OP when they join a unregistered or empty channel? Or even just kicks them out of the channel.

Posted: Mon Jun 06, 2005 7:18 pm
by Syzop
Perhaps there's such an services module? (that kicks)
I would expect anope to have one at least ;p

Posted: Mon Jun 06, 2005 7:23 pm
by Matridom
why not deny all channels then put in exceptions for the rooms you want people to join... ?

Posted: Tue Jun 07, 2005 3:08 am
by Stealth
I asked someone to make a module that automatically had Unreal deop the user when he/she/it joined an empty room... It obviously never got done, so maybe this post will help the person I asked remember :D

*cough*w00t*cough*Special*cough* <== excuse my cough... I might be getting sick :P

Posted: Tue Jun 14, 2005 8:52 pm
by Jason

Posted: Tue Jun 14, 2005 9:59 pm
by Stealth
I nagged w00t about this and he has been trying to get a module to do this working... Unfortunatly, it seems to be difficult...

Posted: Tue Jun 14, 2005 11:19 pm
by w00t
Well, not so much difficult.. I think I've fixed the windows crashes (fun) but I still can't figure out why it's not actually setting modes.

For anyone who actually cares, I'm attaching a hook to HOOK_LOCAL_JOIN, then trying to call do_mode (as done in SAMODE etc).

If anyone has any other ideas, feel free to PM me or whatever.

Posted: Mon Jun 20, 2005 2:54 pm
by black_skies4
Why the hell would you want that? Then no one could register the channel :|. Anope has /cs forbid :| and there is also forbid channel in unrealircd.conf

Posted: Mon Jun 20, 2005 3:10 pm
by aquanight
Try reading the whole thread, and you'll see that that's the idea.

Posted: Mon Jun 20, 2005 4:10 pm
by black_skies4
I know but why :|.

Posted: Mon Jun 20, 2005 7:33 pm
by Stealth
The object is not to forbid channels, but to make only registered channels have ops. This can be used to either limit registrations, or encourage people to want to register channels.

Posted: Tue Jun 21, 2005 12:09 am
by w00t
Hard as it may be to understand, not all networks are the same. I plan to deploy this in a corporate environment sometime in the future if i can ever get it working.