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 "chanhistory" Module

Description

This module adds channel mode H (history) which allows message history to be viewed on joining the channel.

Configuration

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

<module name="m_chanhistory.so">

<chanhistory>

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

Name Type Default Value Description
bots Boolean Yes Whether users with the bot user mode (+B) will receive history.
notice Boolean Yes Whether to send a notice before sending history.
maxlines Number 50 The maximum number of lines of history that a channel can keep.
Example Usage
<chanhistory bots="yes"
             notice="yes"
             maxlines="50">

Channel Modes

Name Character Type Parameter Syntax Description
history H Parameter <count>:<period> Sends up to <count> messages from the last <period> on join.

Example Usage

Replays up to 10 messages from the last 30 minutes:

/MODE #channel +H 10:1800

Replays up to 25 messages from the last two hours:

/MODE #channel +H 25:2h