From 42c9fc21bde6459d1dd9f5e437b3ba0356ba6fae Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 8 Jun 2018 17:15:27 +0200 Subject: MUC: Ignore unused 'self' [luacheck] --- plugins/muc/muc.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc') diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 65772375..a7bd9d9c 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -352,7 +352,7 @@ module:hook("muc-disco#info", function(event) event.formdata["muc#roominfo_occupants"] = tostring(iterators.count(event.room:each_occupant())); end); -function room_mt:get_disco_items(stanza) +function room_mt:get_disco_items(stanza) -- luacheck: ignore 212 return st.reply(stanza):query("http://jabber.org/protocol/disco#items"); end -- cgit v1.2.3