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


This module adds extended ban G: (country) which matches against two letter country codes.


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

<module name="geoban">

This module requires no other configuration.

Extended Bans

Name Character Type Ban Syntax Description
country G Matching G:<pattern> Matches against the two letter country code for the country that users are connecting from.

Example Usage

Bans users connecting from the United States of America:

/MODE #channel +b G:US

Bans users whose country of origin can not be determined:

/MODE #channel +b G:XX