Comparison

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
comparison
equal deleted inserted replaced
8824:9232305618ac 8825:7270258fec77
509 return data; 509 return data;
510 end 510 end
511 function get_set:clear() -- luacheck: ignore 212/self 511 function get_set:clear() -- luacheck: ignore 212/self
512 return archive:delete(user); 512 return archive:delete(user);
513 end 513 end
514 function get_set:resize(size) 514 function get_set:resize(size) -- luacheck: ignore 212/self
515 return archive:delete(user, { 515 return archive:delete(user, {
516 truncate = size; 516 truncate = size;
517 }); 517 });
518 end 518 end
519 function get_set:tail() 519 function get_set:tail()