aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2017-09-26 17:24:25 +0100
committerMatthew Wild <mwild1@gmail.com>2017-09-26 17:24:25 +0100
commit10c321a29dae7e721ba168f5a05beca22e14e7f4 (patch)
tree575fdc7082baf42f3c7871cac1bc03d7fa65f905 /plugins/mod_s2s/mod_s2s.lua
parent672f22b6f9036895ba3301bbee91abbe99b180be (diff)
parent63252575dfc7c74434c642beafd29e34e3c89c62 (diff)
downloadprosody-10c321a29dae7e721ba168f5a05beca22e14e7f4.tar.gz
prosody-10c321a29dae7e721ba168f5a05beca22e14e7f4.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index b46b7e2a..bfd8f9af 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -180,6 +180,7 @@ end
-- Stream is authorised, and ready for normal stanzas
function mark_connected(session)
+
local sendq = session.sendq;
local from, to = session.from_host, session.to_host;
@@ -211,6 +212,7 @@ function mark_connected(session)
session.sendq = nil;
end
+ session.resolver = nil;
session.ip_hosts = nil;
session.srv_hosts = nil;
end