Changeset

6307:b6a47c7a496a

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Wed, 09 Jul 2014 02:06:37 +0200
parents 6305:38d82f8ead25 (current diff) 6306:c6d9e21cd5f2 (diff)
children 6308:94c3cf8293a7
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_dialback.lua	Tue Jul 08 07:32:45 2014 +0200
+++ b/plugins/mod_dialback.lua	Wed Jul 09 02:06:37 2014 +0200
@@ -82,7 +82,7 @@
 		local attr = stanza.attr;
 		local to, from = nameprep(attr.to), nameprep(attr.from);
 
-		if origin.secure then
+		if dwd and origin.secure then
 			if check_cert_status(origin, from) == false then
 				return
 			elseif origin.cert_chain_status == "valid" and origin.cert_identity_status == "valid" then