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


This module adds the /SETHOST command which allows server operators to change their displayed hostname.


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

<module name="sethost">


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

Name Type Default Value Description
charmap Text ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-_/0123456789 The characters which are allowed in a hostname.
Example Usage

Allows hostnames to contain letters, numbers, /, -, .', and__`.

<hostname charmap="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-_/0123456789">


Name Parameter Count Syntax Description
SETHOST 1 <hostname> Changes the displayed hostname of the user to <hostname>.

Example Usage

Changes the hostname of the user to wibble.wobble:

/SETHOST wibble.wobble

Special Notes

This command only changes the displayed hostname of the user. Their real hostname will remain intact and still will match against bans.