Software /
code /
prosody
Diff
plugins/mod_dialback.lua @ 6306:c6d9e21cd5f2
mod_dialback: Respect dwd config option
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 09 Jul 2014 02:04:16 +0200 |
parent | 6303:d289582d3518 |
child | 6374:f1dd1716aa9d |
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