aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-07-09 02:04:16 +0200
committerKim Alvefur <zash@zash.se>2014-07-09 02:04:16 +0200
commit84b23d1546d1fc76ba603bbe1d89d9a35e24b6de (patch)
treed87a9e8e6992e362184a5c9077553dd140a904f2
parent260fc78e4095f1e4ed74d4e76dc1eb23713bacf1 (diff)
downloadprosody-84b23d1546d1fc76ba603bbe1d89d9a35e24b6de.tar.gz
prosody-84b23d1546d1fc76ba603bbe1d89d9a35e24b6de.zip
mod_dialback: Respect dwd config option
-rw-r--r--plugins/mod_dialback.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index 15e24281..2584299c 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -82,7 +82,7 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
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