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

Modules/banredirect

From Inspire IRCd (InspIRCd)

Jump to: navigation, search

Description

Allows +b channel bans in the format nick!ident@host#channel, where #channel is where a user matching the ban will be redirected to when they attempt to join the channel the ban is set on. This doesn't affect normal nick!ident@host bans which can be set as normal.

Configuration Tags

None

Additional Modes

Channel mode +b: This is not an additional mode, how it behaves is described above.

Additional Commands

None

Special Notes

This supports partial banmask expansion (e.g. '/mode #channel +b Bob' actually applying a banmask of 'Bob!*@*') like the core does. The behavior should be the same as the core.

When this module is unloaded it will reset all bans with redirections without the redirection. So on unload you'll see a load of mode changes something like:

-> (your.servername.here) sets (#services -b+b Bob!*@*#rawr Bob!*@*)

Also, if there are multiple bans matching a user the first one to be set will be the one which is applied.