Software /
code /
prosody
Changeset
6306:c6d9e21cd5f2
mod_dialback: Respect dwd config option
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 09 Jul 2014 02:04:16 +0200 |
parents | 6303:d289582d3518 |
children | 6307:b6a47c7a496a 6312:1940a014aeca |
files | plugins/mod_dialback.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_dialback.lua Fri Jul 04 23:04:56 2014 +0200 +++ b/plugins/mod_dialback.lua Wed Jul 09 02:04:16 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