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
commit8210fb1e86489614e56197a5c18b3a796910ed5f (patch)
tree8ebf9617bc359bc2b67a03107c0b46ecd9b073dc
parent675cbc84d9fbca817cdc9628f666dee718d71213 (diff)
downloadprosody-8210fb1e86489614e56197a5c18b3a796910ed5f.tar.gz
prosody-8210fb1e86489614e56197a5c18b3a796910ed5f.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;
});