aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-05-23 18:06:49 +0200
committerKim Alvefur <zash@zash.se>2018-05-23 18:06:49 +0200
commit476b66f14df01c43eb45397577e37e43308656e5 (patch)
tree8ebf9617bc359bc2b67a03107c0b46ecd9b073dc
parentd3739722401326fe483da501d62ea126e667786d (diff)
downloadprosody-476b66f14df01c43eb45397577e37e43308656e5.tar.gz
prosody-476b66f14df01c43eb45397577e37e43308656e5.zip
mod_pubsup: Ignore unused 'self' argument [luacheck]
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 9ca5f75d..4aba6203 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -511,7 +511,7 @@ local function archive_itemstore(archive, config, user, node)
function get_set:clear() -- luacheck: ignore 212/self
return archive:delete(user);
end
- function get_set:resize(size)
+ function get_set:resize(size) -- luacheck: ignore 212/self
return archive:delete(user, {
truncate = size;
});