File

mod_throttle_unsolicited/README.markdown @ 2202:217456783219

mod_log_rate: Use moduleapi
author Kim Alvefur <zash@zash.se>
date Thu, 09 Jun 2016 11:32:23 +0200
parent 2082:163d55777ad5
child 2324:1424aa8877f0
line wrap: on
line source

---
depends:
- 'mod\_track\_muc\_joins'
summary: Limit rate of outgoing unsolicited messages
...

Introduction
============

This module limits the rate of outgoing unsolicited messages. A message
counts as "unsolicited" if the receiving user hasn't added the sending
user to their roster.

The module depends on [mod\_track\_muc\_joins] in order to allow sent
messages to joined MUC rooms.

Configuration
=============

``` {.lua}
unsolicited_messages_per_minute = 10
```