The "gecosban" Module

Description

This module adds the r extended ban which checks whether users have a real name (gecos) matching the specified glob pattern.

Configuration

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

<module name="gecosban">

This module requires no other configuration.

Extended Bans

Character Type Ban Syntax Description
a Matching a:<pattern> Checks whether users have a nick!user@host+real mask matching <pattern>.
r Matching r:<pattern> Checks whether users have a a real name (gecos) matching <pattern>.

Example Usage

Bans users with a nick!user@host+real mask matching *!*@example.com+*example* from joining the channel:

/MODE #channel +b a:*!*@example.com+*example*

Bans users with a real name (gecos) matching *example* from joining the channel:

/MODE #channel +b r:*example*