InspIRCd v4 is still early in development!

If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.

You probably want to use InspIRCd v3 instead.

The "timedbans" Module (v4)

Description

This module adds the /TBAN command which allows channel operators to add bans which will be expired after the specified period.

Configuration

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

<module name="timedbans">

<timedbans>

The <timedbans> tag defines settings about how the timedbans module should behave. This tag can only be defined once.

Name Type Default Value Description
sendnotice Boolean Yes Whether to send a notice to channel operators when a timed ban is added or expired.
Example Usage
<timedbans sendnotice="yes">

Commands

Name Parameter Count Syntax Description
TBAN 3 <channel> <duration> <banmask> Bans <banmask< from <channel> for <duration>.

Example Usage

Bans *!*@example.com from #channel for one hour:

/TBAN #channel 1h *!*@example.com