Diff

plugins/mod_dialback.lua @ 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
parent 10376:b337df192a10
child 11526:15a3db955ad3
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