File

mod_muc_block_pm/README.md @ 6206:ac7e2992fe6e

mod_rest: Strip down error payloads to avoid stack overflow When the util.error feature of including a traceback in the error, util.json can't serialize it as it is often self-referential.
author Kim Alvefur <zash@zash.se>
date Sun, 16 Mar 2025 17:04:51 +0100
parent 6003:fe081789f7b5
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