Changeset

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
parents 8300:7759eb130938
children 8302:4852def7dc49
files plugins/mod_pubsub/pubsub.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);