changeset 1284:e36f82d7baae

mod_manifesto: Only check fully established incoming sessions
author Florian Zeitz <florob@babelmonkeys.de>
date Thu, 23 Jan 2014 19:30:27 +0100
parents 3e96889c0c36
children f1a0a0754b87
files mod_manifesto/mod_manifesto.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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