# HG changeset patch # User Kim Alvefur # Date 1508961573 -7200 # Node ID 6ff50541d2a6fbc9b90d60f7bee6b4877876538e # Parent cc05b63665765677fe12d101196bfac6ebd44617 mod_storage_xep0227: Ignore unused 'self' argument [luacheck] diff -r cc05b6366576 -r 6ff50541d2a6 plugins/mod_storage_xep0227.lua --- 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