aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_anonymous.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-11 01:46:41 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-11 01:46:41 +0100
commitaceb78e16b9acb74f6d3e3625312126a06cc65b7 (patch)
tree8a526c9d72b13bfaf7a439d7f39d017bd4361bf9 /plugins/mod_auth_anonymous.lua
parent03e9d0f7d34af35b98cd15411872ee4d3c906837 (diff)
parentac1d04c961f8b675c8bc6af9fe5760fd737f4c67 (diff)
downloadprosody-aceb78e16b9acb74f6d3e3625312126a06cc65b7.tar.gz
prosody-aceb78e16b9acb74f6d3e3625312126a06cc65b7.zip
Merge with backout
Diffstat (limited to 'plugins/mod_auth_anonymous.lua')
-rw-r--r--plugins/mod_auth_anonymous.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_auth_anonymous.lua b/plugins/mod_auth_anonymous.lua
index 5df81f24..55398d8a 100644
--- a/plugins/mod_auth_anonymous.lua
+++ b/plugins/mod_auth_anonymous.lua
@@ -52,7 +52,6 @@ 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);