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 | 551afcd4eb8060f33cd1cf37c5e2b93b1f9f5375 (patch) | |
tree | b425195a02d7aa91196c4ebe9c40b18e56654377 /plugins/mod_pubsub/pubsub.lib.lua | |
parent | b4129893d907d7524b61c31d2574f58945118ed4 (diff) | |
download | prosody-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/pubsub.lib.lua')
-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); |