Diff

plugins/mod_pubsub/pubsub.lib.lua @ 8825:7270258fec77

mod_pubsup: Ignore unused 'self' argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 23 May 2018 18:06:49 +0200
parent 8822:4afa77e0d2b0
child 8826:d614003a82c1
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Wed May 23 15:02:55 2018 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Wed May 23 18:06:49 2018 +0200
@@ -511,7 +511,7 @@
 	function get_set:clear() -- luacheck: ignore 212/self
 		return archive:delete(user);
 	end
-	function get_set:resize(size)
+	function get_set:resize(size) -- luacheck: ignore 212/self
 		return archive:delete(user, {
 			truncate = size;
 		});