mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
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.
This commit is contained in:
parent
e131bbd3a4
commit
fd7ac7b72e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue