# HG changeset patch # User Kim Alvefur # Date 1507484530 -7200 # Node ID e2ab440a3437124f0dbd67c3d1e0a69f4160ae2d # Parent 7759eb1309383ad6d961e4ee09ad90d8d2a887e4 mod_pubsub: Ignore unused 'self' since the data used is an upvalue [luacheck] diff -r 7759eb130938 -r e2ab440a3437 plugins/mod_pubsub/pubsub.lib.lua --- a/plugins/mod_pubsub/pubsub.lib.lua Sun Oct 08 01:56:44 2017 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Sun Oct 08 19:42:10 2017 +0200 @@ -379,7 +379,7 @@ 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);