aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-02 15:40:20 +0100
committerKim Alvefur <zash@zash.se>2019-11-02 15:40:20 +0100
commit5123cae2ff7ce9c0abfb575615779803ae914dde (patch)
treed261bad330da045df64dac1737ee5bfc964bfdf4
parent34c79b915eb8d623d60b4fe001c893e9a2f1360e (diff)
downloadprosody-5123cae2ff7ce9c0abfb575615779803ae914dde.tar.gz
prosody-5123cae2ff7ce9c0abfb575615779803ae914dde.zip
mod_dialback: Fix potential traceback in case of missing addressing
Not tested. Assuming nothing good comes from continuing the program flow after this. The connection should get closed and the event gets aborted by a traceback anyways.
-rw-r--r--plugins/mod_dialback.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index dc843498..f580d948 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -107,6 +107,7 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
return true;
elseif not from then
origin:close("improper-addressing");
+ return true;
end
if dwd and origin.secure then