From 551afcd4eb8060f33cd1cf37c5e2b93b1f9f5375 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 8 Oct 2017 19:42:10 +0200 Subject: mod_pubsub: Ignore unused 'self' since the data used is an upvalue [luacheck] --- plugins/mod_pubsub/pubsub.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_pubsub/pubsub.lib.lua') 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); -- cgit v1.2.3