Diff

plugins/mod_storage_xep0227.lua @ 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
parent 8351:cc05b6366576
child 11789:f3085620b6ff
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