Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Only join reg Channels  (Read 6941 times)

0 Members and 1 Guest are viewing this topic.

Mark

  • Guest
Only join reg Channels
« 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
Logged

SpaceDoG

  • Anope User
  • Offline Offline
  • Posts: 183
    • http://www.hypermutt.net
(No subject)
« Reply #1 on: July 14, 2006, 01:40:08 AM »

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.
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #2 on: July 14, 2006, 08:33:12 AM »

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.
Logged

Mark

  • Guest
(No subject)
« Reply #3 on: July 14, 2006, 09:31:00 AM »

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
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #4 on: July 14, 2006, 12:08:54 PM »

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:
Code: [Select]
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]
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Alex

  • Guest
(No subject)
« Reply #5 on: July 26, 2006, 01:08:38 PM »

Quote
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.
Logged
Pages: [1]   Go Up