diff options
author | Kim Alvefur <zash@zash.se> | 2019-11-02 15:40:20 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-11-02 15:40:20 +0100 |
commit | fd7ac7b72e6337637c7d02ab5858067357be542d (patch) | |
tree | d261bad330da045df64dac1737ee5bfc964bfdf4 /plugins | |
parent | e131bbd3a4cc84f05d44be877ed2201031e2f810 (diff) | |
download | prosody-fd7ac7b72e6337637c7d02ab5858067357be542d.tar.gz prosody-fd7ac7b72e6337637c7d02ab5858067357be542d.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.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_dialback.lua | 1 |
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 |