The "operchans" Module (v4)
Description
This module adds channel mode O (operonly) which prevents non-server operators from joining the channel.
Configuration
To load this module use the following <module> tag:
<module name="operchans">
This module requires no other configuration.
Channel Modes
| Name | Character | Type | Parameter Syntax | Usable By | Description |
|---|---|---|---|---|---|
| operonly | O | Switch | None | Server operators | Prevents non-server operators from joining the channel. |
Extended Bans
| Name | Character | Type | Ban Syntax | Description |
|---|---|---|---|---|
| oper | o | Matching | [!]oper:<pattern> | Checks whether users are logged into a server operator account with a name matching <pattern>. |
| opertype | O | Matching | [!]opertype:<pattern> | Checks whether users are logged into a server operator account with an operator type matching <pattern>. |
Example Usage
Bans users logged into server operator accounts with a name matching Evil* from joining the channel:
/MODE #channel +b o:Evil*
Bans users logged into server operator accounts with an operator type matching Evil* from joining the channel:
/MODE #channel +b O:Evil*