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
commit42c9fc21bde6459d1dd9f5e437b3ba0356ba6fae (patch)
treee833cbc0b18b99628856e9588668315664698c1d /plugins/muc
parent22e7fd2be13bfc286f6f4656fdbd368ba116bcda (diff)
downloadprosody-42c9fc21bde6459d1dd9f5e437b3ba0356ba6fae.tar.gz
prosody-42c9fc21bde6459d1dd9f5e437b3ba0356ba6fae.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