aboutsummaryrefslogtreecommitdiffstats
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
commit2455838c48d42e5d60239dcc863bd60df8ba16c3 (patch)
tree08ac1ab12143a71b23e77590bfccc98a7d8b23da
parent227e6843e4e38800d685a2ff792e2b5998079b00 (diff)
downloadprosody-2455838c48d42e5d60239dcc863bd60df8ba16c3.tar.gz
prosody-2455838c48d42e5d60239dcc863bd60df8ba16c3.zip
mod_storage_xep0227: Ignore unused 'self' argument [luacheck]
-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