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 "realnameban" Module (v4)
Description
This module adds extended bans a:
(realmask) and r:
(realname) which checks whether users have a real name matching the specified glob pattern.
Configuration
To load this module use the following <module>
tag:
<module name="realnameban">
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 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 matching *example*
from joining the channel:
/MODE #channel +b r:*example*