Plugin last modified: 2024-10-12
Automatically sets +m (moderated) on channels that have no operators present. Runs on a configurable interval and announces any action to the ops channel.
On each timer tick the plugin checks every channel. If a channel is not already +m and is not exempt, it determines whether an operator is present using one of two modes:
hatmoderate = True) — checks whether any user in the channel holds a privilege at or above requiredprivilage.hatmoderate = False, default) — checks whether any user from the ops channel (JotiGeneral.ops_channel) is also present in the channel.In both modes ChanServ is excluded from the operator check. If no operator is found, the bot sets +m and announces it to the ops channel.
[automoderate]
automoderate = True
autointerval = 60
hatmoderate = False
exemptmoderatechannels = #chanops
requiredprivilage = 1
serviceshost = services.scoutlink.net
| Key | Description |
|---|---|
autointerval |
How often (in seconds) to run the check |
hatmoderate |
If True, use privilege-level checking instead of ops-channel membership |
exemptmoderatechannels |
Comma-separated channels to never set +m on |
requiredprivilage |
Minimum privilege bitmask to count as an operator (used with hatmoderate) |
serviceshost |
Hostname of IRC services — users with this host are never counted as operators |