Anope IRC Services
Anope Development => Feature Requests => Topic started by: Mark on July 13, 2006, 10:00:46 PM
-
Hi
Givs a modul there make that users cant join a channel theres no registred? I have the modul that user can't reg a Channel. But how can i made that they cant join unreg channels?
Great
Mark
-
That won't be a module that can be done via anope. What you need to do is see if there is one that is made for your IRCd. I think Unreal has one but I'm not 100% positive.
-
There is a module somewhere, i cant remember the name, which bascaily just kicks anyone who joins an unregistred channel out again. However, if you do use unreal, consider using the allow/deny channel option.
-
HI
Thank you very mutch.
I Have found this http://dev.anope.de/unreal/m_onlyopersjoin.c. Its great. But when a Channel is registred, the user can't join it when 0 Users in the Chan. So i have make mit allow and deny block so you say. Thank you a lot.
Great
Mark
-
Ok to use the allow and deny channel blocks for this purpose you need to explicitly list every channel people are allowed to join and deny everything else. The following example allows users to join #home but no other channel:
deny channel {
channel "#*";
reason "Registered channels only.";
};
allow channel {
channel "#home";
};
I dont use it on my network but that should work.
Also if you wish to be notified when a user attempts to join a channel that is denied by the deny block simply add "warn on;" into the deny channel block.
[Edited on 14-7-2006 by Jobe1986]
-
Originally posted by Mark
Hi
Givs a modul there make that users cant join a channel theres no registred? I have the modul that user can't reg a Channel. But how can i made that they cant join unreg channels?
Great
Mark
If you are using Unreal 3.2.4 or 3.2.5 you can set channel mode +R. That will deny unregistered people access to your channel. If you wish to avoid nickname change, you can set channel mode +N.
Command: /cs SET #ChannelName MLOCK +NR
Hope this helps.