# HG changeset patch # User Kim Alvefur # Date 1572705620 -3600 # Node ID 18685a5e362eda586b41a454de4a9161f6ba1f2b # Parent b917602eac047363904ed00d0d70879122e0f077 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. diff -r b917602eac04 -r 18685a5e362e plugins/mod_dialback.lua --- a/plugins/mod_dialback.lua Sat Nov 02 15:39:40 2019 +0100 +++ b/plugins/mod_dialback.lua Sat Nov 02 15:40:20 2019 +0100 @@ -107,6 +107,7 @@ return true; elseif not from then origin:close("improper-addressing"); + return true; end if dwd and origin.secure then