Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
8300:7759eb130938 | 8301:e2ab440a3437 |
---|---|
377 module:log("error", "Unable to set item: %s", err); | 377 module:log("error", "Unable to set item: %s", err); |
378 return nil, err; | 378 return nil, err; |
379 end | 379 end |
380 return data; | 380 return data; |
381 end | 381 end |
382 function get_set:clear() | 382 function get_set:clear() -- luacheck: ignore 212/self |
383 return archive:delete(user); | 383 return archive:delete(user); |
384 end | 384 end |
385 return setmetatable(get_set, archive); | 385 return setmetatable(get_set, archive); |
386 end | 386 end |
387 _M.simple_itemstore = simple_itemstore; | 387 _M.simple_itemstore = simple_itemstore; |