The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog
Personal tools

Modules/chanprotect

From Inspire IRCd (InspIRCd)

Jump to: navigation, search

Description

This module provides the channel modes +a and +q (protection and founder).

Configuration Tags

This module adds several extra settings to the options tag:
<options noservices="no">

If your network does not have services and is unlikely to ever have services, then set noservices to "yes" in your options tag. When this option is set the first person into any channel is silently given the channel mode +q in the same way they are given the channel mode +o for channel operator status. This is because otherwise with no U:Lined servers to give out +q, both +q and +a would be useless without services.

<options deprotectself="no">

If this value is set to yes, true, or 1, then any user with +q or +a may remove the +q or +a from themselves. The default setting is to not enable this feature, which stops even the founder taking away their founder status without using services.

<options deprotectothers="no">

If this value is set to yes, true, or 1, then any user with +q or +a may remove the +q or +a from other users. The default setting is to not enable this feature, so that only +q may remove +a, and nothing but services may remove +q.

<options qaprefixes="no">

This will enable the '~' prefix for +q and '&' for +a. Note, this is just a cosmetic option - having +q or +a will NOT infer +o, you still need to be given that mode seperately.

Additional Modes

  • Channel mode +q: This channel mode marks a user as the channel founder. As only servers may set mode +q (not even opers with oper override) a channel should normally have only one +q user, unless your services package decides to hand out multiple +q modes. A +q user is protected from kicks and deops, and also from deprotects by any other users.
  • Channel mode +a: This channel mode marks a user as protected. This means they may not be kicked or deopped. Only a +q user or a U:Lined server may give or take away channel mode +a under normal circumstances, or kick a +a user.

Additional Commands

None

Special Notes

Note that channel modes +q and +a do not infer channel mode +o. Channel mode +o is seperate, therefore allowing you to protect a user who is voiced or halfopped if you wish.