Mercurial > prosody-modules
view mod_muc_block_pm/README.markdown @ 5853:97c9b76867ca
mod_log_ringbuffer: Detach event handlers on logging reload (thanks Menel)
Otherwise the global event handlers accumulate, one added each time
logging is reoladed, and each invocation of the signal or event triggers
one dump of each created ringbuffer.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 03 Mar 2024 11:23:40 +0100 |
parents | c7e532ac6bf7 |
children |
line wrap: on
line source
--- summary: Prevent MUC participants from sending PMs --- # Introduction This module prevents *participants* from sending private messages to anyone except *moderators*. # Configuration The module doesn't have any options, just load it onto a MUC component. ``` lua Component "muc" modules_enabled = { "muc_block_pm"; } ``` # Compatibility Branch State -------- ----------------- 0.11 Will **not** work 0.12 Should work