Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: auto +G on channel register  (Read 2672 times)

0 Members and 1 Guest are viewing this topic.

Harold

  • Anope User
  • Offline Offline
  • Posts: 1
auto +G on channel register
« on: September 16, 2012, 10:13:53 PM »

i'm looking  for  a  module  to mode  the  room +G   when a channel is  registered  to a   chatter that only  a  NA or   other  staff can  remove   it, i'm useing  anope-1.8.5 ;D :)
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: auto +G on channel register
« Reply #1 on: September 16, 2012, 10:50:38 PM »

http://modules.anope.org/index.php?page=view&id=223

Services can *not* prevent users of any level from (un)setting any user/channel mode at all. That is the job of the ircd.

If you use Unreal IRCd:

set::restrict-usermodes <modes>
Restrict users to set/unset the modes listed here (don't use + or -).
For example you can set +G in modes-on-connect and G in restrict-usermodes, that way you can force all users to be +G and unable to do -G.

set::restrict-channelmodes <modes>
Restrict users to set/unset the channel modes listed here (don't use + or -).
For example you can set +G in modes-on-join and G in restrict-channelmodes, that way you can force all (new) channels to be +G and unable to do -G.

NOTE: it may still be possible to use these channel modes through services by using MLOCK. Unfortunately we can't do much about that, you would have to ask the services coders to implement a restrict-channelmodes feature too.
« Last Edit: September 17, 2012, 12:03:02 AM by katsklaw »
Logged
Pages: [1]   Go Up