Changeset

3489:33b3f02a9e7d

mod_pubsub_text_interface: Remove unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 15 Mar 2019 04:27:52 +0100
parents 3488:4ddb034a8a03
children 3490:972b21d34306
files mod_pubsub_text_interface/mod_pubsub_text_interface.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pubsub_text_interface/mod_pubsub_text_interface.lua	Fri Mar 15 04:26:54 2019 +0100
+++ b/mod_pubsub_text_interface/mod_pubsub_text_interface.lua	Fri Mar 15 04:27:52 2019 +0100
@@ -19,7 +19,7 @@
 end
 
 module:hook("message/host", function (event)
-	local origin, stanza = event.origin, event.stanza;
+	local stanza = event.stanza;
 	local body = stanza:get_child_text("body");
 	if not body then return end -- bail out