annotate mod_s2s_blacklist/README.markdown @ 4300:3f3b672b7616

mod_vcard_muc: Pass room object around instead of JID, hopefully fixing traceback More efficient to pass the object around instead of using the JID and looking up the object when needed. It seems in some (undetermined) cases get_room_from_jid(room.jid) is nil.
author Matthew Wild <mwild1@gmail.com>
date Tue, 15 Dec 2020 10:49:11 +0000
parents 59dd0cdae560
children 3b5358934d15
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3154
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 This module lets you block connections to remote servers at the s2s
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 level.
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 ``` {.lua}
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 s2s_blacklist = {
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "proxy.eu.jabber.org",
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 }
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 ```