Modules/2.0/banredirect

From the makers of InspIRCd.
Jump to: navigation, search

banredirect module (2.0 version)

Current Future
2.0 Documentation 3.0 Documentation
Return to the 2.0 Module List
Description
Allows +b channel bans in the format [email protected]#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 [email protected] bans which can be set as normal.
Configuration Tags
This module does not require any extra configuration, beyond the <module> tag to load it.
Modes
Channel mode +b: This is not an additional mode, how it behaves is described above.

Example:

21:58 -!- mode/#channel1 [+b *!*@*.mibbit.com#mibbets] by someone

Note: The channel to where is redirected must exist.

Extended Bans (Extbans)
This module implements no extended bans.
Commands
This module adds no extra commands.
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:

22:04 -!- ServerMode/#channel1 [-b+b *!*@*.mibbit.com#mibbets *!*@*.mibbit.com] by test.server.net

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