Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: MLOCK help  (Read 3968 times)

0 Members and 1 Guest are viewing this topic.

woodsier

  • Anope User
  • Offline Offline
  • Posts: 24
MLOCK help
« on: May 08, 2009, 08:57:59 AM »

Hi guys.

I am running anope 1.8.0 and UnrealIRCd3.2.7.

I have a problem.

Basically I have a #staff channel on my IRC network. I have setup all my vhosts for staff to as staffposition.staff.mywebsite.org (interchanged names for anonymity).

I have set my #staff channel to +i and +I *!*@*.staff.mywebsite.org

I would like these settings to persist, even if everyone leaves the room.

When I do this: /msg ChanServ SET #staff MLOCK +iI *!*@*.staff.mywebsite.org

Quote
17:55   ChanServ   Unknown mode character I ignored.
17:55   ChanServ   Mode lock on channel #staff changed to +ir.

Why can't I get +I to remain locked? Is there a way to do this? I want to set it up so that anyone with vhost *!*@*.staff.mywebsite.org can enter the channel, yet nobody else can, even if nobody is in the channel.

Is there a way to set it so that it does not lose mode when everyone leaves channel, alternatively? Also, if so, does this persist through an IRCd/entire server reboot?

Thanks.
« Last Edit: May 08, 2009, 09:12:14 AM by woodsier »
Logged

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
Re: MLOCK help
« Reply #1 on: May 08, 2009, 10:29:14 AM »

You can't mlock +I.

There are however a few alternatives:

If your staff are all opers then why not mlock +O instead?

Or you could use +k?

Or you could add all staff to the access list and have them use /cs invite.

Or you could add all staff to the access list and set restricted on (people not on the access list are autob&)
Logged

woodsier

  • Anope User
  • Offline Offline
  • Posts: 24
Re: MLOCK help
« Reply #2 on: May 10, 2009, 08:07:58 AM »

Opers as in hardcoded into my unreal .conf file opers? No I do not want to give all my staff that kind of power over my server (even if I do restrict their powers manually in the .conf).

Or did you mean something else by opers?

I could use +k, that's an option.

access list is sounding like the best alternative, unless you did mean something else by Oper. Could you please explain?

On a related note, is there a way to set it so that all people who join with the hostmask *!*@*.mywebsite.org (which i set using hostserv) are automatically given +o (op) in a channel?
Logged

woodsier

  • Anope User
  • Offline Offline
  • Posts: 24
Re: MLOCK help
« Reply #3 on: May 10, 2009, 08:14:13 AM »

Also, is it possible to MLOCK the restricted mode?
Logged

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
Re: MLOCK help
« Reply #4 on: May 10, 2009, 03:21:48 PM »

Opers as in hardcoded into my unreal .conf file opers? No I do not want to give all my staff that kind of power over my server (even if I do restrict their powers manually in the .conf).

Or did you mean something else by opers?

I could use +k, that's an option.

access list is sounding like the best alternative, unless you did mean something else by Oper. Could you please explain?

On a related note, is there a way to set it so that all people who join with the hostmask *!*@*.mywebsite.org (which i set using hostserv) are automatically given +o (op) in a channel?

The access list method is simple. Once you have done /cs set #channel restricted on, only people with access 1 or higher can get in - all other users will be autobanned. So you simple add all your staff to the access list.

There is no way to autoop people by hostmask with services, nor do I know of a module that does it either.
Logged

woodsier

  • Anope User
  • Offline Offline
  • Posts: 24
Re: MLOCK help
« Reply #5 on: May 10, 2009, 03:52:38 PM »

I see, thanks, this might be the way to do it.
Logged
Pages: [1]   Go Up