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 "nicklock" Module (v4)

Description

This module adds the /NICKLOCK command which allows server operators to change a user's nickname and prevent them from changing it again until they disconnect.

Configuration

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

<module name="nicklock">

This module requires no other configuration.

Commands

Name Parameter Count Syntax Description
NICKLOCK 2 <old-nick> <new-nick> Changes the nickname of <old-nick> to <new-nick> and prevents them from changing their nickname.
NICKUNLOCK 1 <locked-nick> Allows <locked-nick> to change their nickname.

Example Usage

Changes the nickname of Sadie to Sadie2 and prevents them from changing their nickname:

/NICKLOCK Sadie Sadie2

Allows Sadie2 to change their nickname:

/NICKUNLOCK Sadie2