Software / code / prosody
Changeset
8352:6ff50541d2a6
mod_storage_xep0227: Ignore unused 'self' argument [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 25 Oct 2017 21:59:33 +0200 |
| parents | 8351:cc05b6366576 |
| children | 8366:272ff3ab25f3 |
| files | plugins/mod_storage_xep0227.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_xep0227.lua Thu Oct 19 12:08:40 2017 +0200 +++ b/plugins/mod_storage_xep0227.lua Wed Oct 25 21:59:33 2017 +0200 @@ -240,7 +240,7 @@ ----------------------------- local driver = {}; -function driver:open(datastore, typ) +function driver:open(datastore, typ) -- luacheck: ignore 212/self if typ and typ ~= "keyval" then return nil, "unsupported-store"; end local handler = handlers[datastore]; if not handler then return nil, "unsupported-datastore"; end