aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_anonymous.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_auth_anonymous.lua')
-rw-r--r--plugins/mod_auth_anonymous.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_auth_anonymous.lua b/plugins/mod_auth_anonymous.lua
index 55398d8a..5df81f24 100644
--- a/plugins/mod_auth_anonymous.lua
+++ b/plugins/mod_auth_anonymous.lua
@@ -52,6 +52,7 @@ local function dm_callback(username, host, datastore, data)
end
if module:get_option_boolean("disallow_s2s", true) then
+ hosts[module.host].disallow_s2s = true;
module:hook("route/remote", function (event)
return false; -- Block outgoing s2s from anonymous users
end, 300);