Diff

plugins/mod_pubsub/pubsub.lib.lua @ 8301:e2ab440a3437

mod_pubsub: Ignore unused 'self' since the data used is an upvalue [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 08 Oct 2017 19:42:10 +0200
parent 8300:7759eb130938
child 8302:4852def7dc49
line wrap: on
line diff
--- 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);