InspIRCd v2 is coming to the end of its lifetime!

Fixes for security vulnerabilities will be provided until 2020-06-01 but after this date v2 will no longer be maintained.

InspIRCd v3 contains many new features including full support for all currently ratified IRCv3 extensions and WebSocket connections.

InspIRCd v3 installation instructions are available here and a list of breaking changes is available here.

The "banredirect" Module

Description

This module allows specifying a channel to redirect a banned user to in the ban mask.

Configuration

To load this module use the following <module> tag:

<module name="m_banredirect.so">

This module requires no other configuration.

Channel Modes

This module does not add any new channel modes but instead extends channel mode b (ban) to allow ban masks to be suffixed with the name of a channel to redirect users who match the ban to.

Example Usage

Redirects users matching *!*@example.com to #banned-channel.

/MODE #channel +b *!*@example.com#banned-channel

Special Notes

When setting a ban redirect the target channel should exist and the user setting the ban should have channel operator status in it.

When the banredirect module is unloaded all ban redirects will be converted to normal bans.