aboutsummaryrefslogtreecommitdiffstats
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
commita9cb63cf3694f651b500e207639ebd52e9866216 (patch)
tree6c0e7519f96c3d8410fd765006fe8ab3a89e0643
parentb4934b66b964b38ff81f3d51cfc18ecb982af821 (diff)
downloadprosody-a9cb63cf3694f651b500e207639ebd52e9866216.tar.gz
prosody-a9cb63cf3694f651b500e207639ebd52e9866216.zip
mod_s2s: Remove redundant setting of session.direction
-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