From 2455838c48d42e5d60239dcc863bd60df8ba16c3 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 25 Oct 2017 21:59:33 +0200 Subject: mod_storage_xep0227: Ignore unused 'self' argument [luacheck] --- plugins/mod_storage_xep0227.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_storage_xep0227.lua') diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua index bdc10a10..229ad6b5 100644 --- a/plugins/mod_storage_xep0227.lua +++ b/plugins/mod_storage_xep0227.lua @@ -240,7 +240,7 @@ handlers.roster = { ----------------------------- 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 -- cgit v1.2.3