aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorMarco Cirillo <maranda@lightwitch.org>2012-02-24 18:03:27 +0000
committerMarco Cirillo <maranda@lightwitch.org>2012-02-24 18:03:27 +0000
commit74bff42057bbe1dbf278959cff1ae8cab077ac19 (patch)
treefea6d2b8a429345467165e23cbb1270b3ef27981 /core/s2smanager.lua
parentb178521e828be9b8a92b6f4225df6036cdcdd5d1 (diff)
downloadprosody-74bff42057bbe1dbf278959cff1ae8cab077ac19.tar.gz
prosody-74bff42057bbe1dbf278959cff1ae8cab077ac19.zip
s2smanager, mod_s2s: clear up ip_hosts after s2s is marked as established, remove useless space from mod_s2s code
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 6877ee18..c05f7229 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -134,6 +134,7 @@ function mark_connected(session)
session.sendq = nil;
end
+ session.ip_hosts = nil;
session.srv_hosts = nil;
end
end