view mod_muc_block_pm/README.markdown @ 5728:80702e33ba71

mod_storage_s3: Fix storing archives for host itself (e.g. mod_audit) Fixes error due to path constructor trying to do string.gsub(nil) with missing username or with fields.
author Kim Alvefur <zash@zash.se>
date Wed, 22 Nov 2023 12:56:50 +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