changeset 2902:037ad1cd0d31

mod_auto_answer_disco_info: Remove unused variable (thanks luacheck)
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 07 Mar 2018 17:41:40 +0100
parents 0fb44258d2cf
children 01692f0052e8
files mod_auto_answer_disco_info/mod_auto_answer_disco_info.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_auto_answer_disco_info/mod_auto_answer_disco_info.lua	Wed Mar 07 17:41:22 2018 +0100
+++ b/mod_auto_answer_disco_info/mod_auto_answer_disco_info.lua	Wed Mar 07 17:41:40 2018 +0100
@@ -3,7 +3,7 @@
 local st = require "util.stanza";
 
 local function iq_stanza_handler(event)
-	local origin, stanza = event.origin, event.stanza;
+	local stanza = event.stanza;
 	local type = stanza.attr.type;
 
 	local query = stanza:get_child("query", "http://jabber.org/protocol/disco#info");