The "testnet" Module

Description

This module provides facilities for developer testing of InspIRCd modules.

Configuration

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

<module name="m_testnet.so">

This module requires no other configuration.

Commands

Name Parameter Count Syntax Description
TEST 2 check
flood [<lines>]
freeze [<penalty>]
Runs the test specified by the user.

Example Usage

Checks that all modules are hooked to their event handlers correctly:

/TEST check

Floods the requesting user with 400 lines of text:

/TEST flood 400

Adds 2000 millicommands of penalty to the requesting user:

/TEST freeze 2000

Special Notes

To ensure that this testing module is not accidentally loaded on a production server your server hostname must contain ".test" to load this module.