Changeset

10380:18685a5e362e

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.
author Kim Alvefur <zash@zash.se>
date Sat, 02 Nov 2019 15:40:20 +0100
parents 10379:b917602eac04
children 10381:66fa45d24481
files plugins/mod_dialback.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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