aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-06-08 17:15:27 +0200
committerKim Alvefur <zash@zash.se>2018-06-08 17:15:27 +0200
commita6095b483844f0180773e7797120f89904d7cbb3 (patch)
treee833cbc0b18b99628856e9588668315664698c1d /plugins/muc
parent37344a42d84600131eda7709965c29c57787ab81 (diff)
downloadprosody-a6095b483844f0180773e7797120f89904d7cbb3.tar.gz
prosody-a6095b483844f0180773e7797120f89904d7cbb3.zip
MUC: Ignore unused 'self' [luacheck]
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
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