aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_xep0227.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-10-25 21:59:33 +0200
committerKim Alvefur <zash@zash.se>2017-10-25 21:59:33 +0200
commit62eaaff226249e924494f78434c422bd094264c1 (patch)
tree08ac1ab12143a71b23e77590bfccc98a7d8b23da /plugins/mod_storage_xep0227.lua
parentf2425a27d08dac6d1f9303ac8e26d7c7ffcdf742 (diff)
downloadprosody-62eaaff226249e924494f78434c422bd094264c1.tar.gz
prosody-62eaaff226249e924494f78434c422bd094264c1.zip
mod_storage_xep0227: Ignore unused 'self' argument [luacheck]
Diffstat (limited to 'plugins/mod_storage_xep0227.lua')
-rw-r--r--plugins/mod_storage_xep0227.lua2
1 files changed, 1 insertions, 1 deletions
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