aboutsummaryrefslogtreecommitdiffstats
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
commit16e8f8b9c2dc6609e2300fd5a08735369091f22b (patch)
treeb425195a02d7aa91196c4ebe9c40b18e56654377
parent4d75ff22170f3cd0e8c61082bb195435fe8cbe3c (diff)
downloadprosody-16e8f8b9c2dc6609e2300fd5a08735369091f22b.tar.gz
prosody-16e8f8b9c2dc6609e2300fd5a08735369091f22b.zip
mod_pubsub: Ignore unused 'self' since the data used is an upvalue [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 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);