annotate mod_s2s_whitelist/README.markdown @ 4656:4eb684ab440c

mod_spam_reporting: Handle unknown or future report types An unrecognised value in the 'reason' attribute would have caused an error. This change makes it mirror the behavior for the previous XEP version.
author Kim Alvefur <zash@zash.se>
date Wed, 25 Aug 2021 15:05:56 +0200
parents 6e5bde0879ad
children 313937349fbc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3155
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 This module lets you block connections to any remote servers not on a
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 whitelist.
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 ``` {.lua}
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 s2s_whitelist = {
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "example.org",
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 }
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 ```