summaryrefslogtreecommitdiff
path: root/files/virtual_host.cfg.lua.j2
diff options
context:
space:
mode:
Diffstat (limited to 'files/virtual_host.cfg.lua.j2')
-rw-r--r--files/virtual_host.cfg.lua.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2
index c21886b..5452481 100644
--- a/files/virtual_host.cfg.lua.j2
+++ b/files/virtual_host.cfg.lua.j2
@@ -53,8 +53,12 @@ Component "conference.{{ virtual_host }}" "muc"
modules_enabled = {
"muc";
"muc_mam";
+
+ -- Spam
+{% if not is_transport_server %}
"muc_moderation";
"muc_rtbl";
+{% endif %}
}
log_all_rooms = true
@@ -62,4 +66,6 @@ restrict_room_creation = "local"
muc_room_default_public = false
muc_room_default_public_jids = true
+{% if not is_transport_server %}
muc_rtbl_jid = "xmppbl.org"
+{% endif %}