The "classban" Module (v4)
Description
This module adds extended ban n: (class) which check whether users are in a connect class matching the specified glob pattern.
Configuration
To load this module use the following <module> tag:
<module name="classban">
<classban>
The <classban> tag defines settings about how the classban module should behave. This tag can only be defined once.
| Name | Type | Default Value | Description |
|---|---|---|---|
| operonly | Boolean | No | New in v4.10.0! Whether extended ban n: (class) can only be set by server operators. |
Example Usage
<classban operonly="no">
Extended Bans
| Name | Character | Type | Ban Syntax | Description |
|---|---|---|---|---|
| class | n | Matching | [!]class:<pattern> | Checks whether users are in a connect class <pattern>. |
Example Usage
Bans users in the "webchat" connect class from joining the channel:
/MODE #channel +b class:webchat