# HG changeset patch # User Florian Zeitz # Date 1390501827 -3600 # Node ID e36f82d7baae8baa579cc2d77ad86e42728c7fad # Parent 3e96889c0c3654fe0001d2c01fad2aa46c2f02e5 mod_manifesto: Only check fully established incoming sessions diff -r 3e96889c0c36 -r e36f82d7baae mod_manifesto/mod_manifesto.lua --- a/mod_manifesto/mod_manifesto.lua Thu Jan 23 19:15:47 2014 +0100 +++ b/mod_manifesto/mod_manifesto.lua Thu Jan 23 19:30:27 2014 +0100 @@ -66,7 +66,7 @@ end end for session in pairs(incoming_s2s) do - if session.to_host == host and session.from_host == contact_host then + if session.to_host == host and session.from_host == contact_host and session.type == "s2sin" then if not session.secure then bad = true; end