diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-08 19:42:10 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-08 19:42:10 +0200 |
commit | 16e8f8b9c2dc6609e2300fd5a08735369091f22b (patch) | |
tree | b425195a02d7aa91196c4ebe9c40b18e56654377 /plugins/mod_pubsub | |
parent | 4d75ff22170f3cd0e8c61082bb195435fe8cbe3c (diff) | |
download | prosody-16e8f8b9c2dc6609e2300fd5a08735369091f22b.tar.gz prosody-16e8f8b9c2dc6609e2300fd5a08735369091f22b.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.lua | 2 |
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); |