aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-05-22 22:49:43 +0200
committerKim Alvefur <zash@zash.se>2014-05-22 22:49:43 +0200
commit55756cdd3c6a37184a13ba3ea405f1842739d177 (patch)
tree6c0e7519f96c3d8410fd765006fe8ab3a89e0643 /plugins/mod_s2s/mod_s2s.lua
parent5ae109b0dabe4aed8c8c041ac8bc9bdd7ed2fb51 (diff)
downloadprosody-55756cdd3c6a37184a13ba3ea405f1842739d177.tar.gz
prosody-55756cdd3c6a37184a13ba3ea405f1842739d177.zip
mod_s2s: Remove redundant setting of session.direction
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index b256374a..4fd71e87 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -643,7 +643,6 @@ function listener.onreadtimeout(conn)
end
function listener.register_outgoing(conn, session)
- session.direction = "outgoing";
sessions[conn] = session;
initialize_session(session);
end