Software / code / prosody-modules
Annotate
mod_s2s_whitelist/README.markdown @ 4788:9084588c73ae
mod_muc_hide_media: Fix disco#info field (thanks mirux)
The default value for 'type' here is 'text-single', which does not
serialize boolean values.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 24 Nov 2021 16:27:20 +0100 |
| parent | 3155:6e5bde0879ad |
| child | 5184:313937349fbc |
| rev | line source |
|---|---|
| 3155 | 1 This module lets you block connections to any remote servers not on a |
| 2 whitelist. | |
| 3 | |
| 4 ``` {.lua} | |
| 5 s2s_whitelist = { | |
| 6 "example.org", | |
| 7 } | |
| 8 ``` |