The "gecosban" Module (v3)

Description

This module adds extended bans a: (realmask) and r:(realname) 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

Name Character Type Ban Syntax Description
realmask a Matching a:<pattern> Checks whether users have a nick!user@host+real mask matching <pattern>.
realname 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*