aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-10-08 19:42:10 +0200
committerKim Alvefur <zash@zash.se>2017-10-08 19:42:10 +0200
commit551afcd4eb8060f33cd1cf37c5e2b93b1f9f5375 (patch)
treeb425195a02d7aa91196c4ebe9c40b18e56654377 /plugins/mod_pubsub
parentb4129893d907d7524b61c31d2574f58945118ed4 (diff)
downloadprosody-551afcd4eb8060f33cd1cf37c5e2b93b1f9f5375.tar.gz
prosody-551afcd4eb8060f33cd1cf37c5e2b93b1f9f5375.zip
mod_pubsub: Ignore unused 'self' since the data used is an upvalue [luacheck]
Diffstat (limited to 'plugins/mod_pubsub')
-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 06615284..f19e3ebc 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -379,7 +379,7 @@ local function simple_itemstore(archive, config, user, node, expose_publisher)
end
return data;
end
- function get_set:clear()
+ function get_set:clear() -- luacheck: ignore 212/self
return archive:delete(user);
end
return setmetatable(get_set, archive);