plugins/mod_auth_anonymous.lua
changeset 4838 661752889535
parent 4821 deec69fc33e5
child 4844 3d1ca811eee3
--- a/plugins/mod_auth_anonymous.lua	Wed May 09 23:09:06 2012 +0000
+++ b/plugins/mod_auth_anonymous.lua	Thu May 10 12:54:37 2012 +0000
@@ -52,6 +52,7 @@
 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);