aboutsummaryrefslogtreecommitdiff
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
commit2720454c8e1da38e9490dc7bf1e5333a952fc9ee (patch)
tree44ea5800e35e705d14a590098769f397d37a480b
parent352db24ab42034faacb6e5bb073a95f354a4e72a (diff)
downloadprosody-im-server-2720454c8e1da38e9490dc7bf1e5333a952fc9ee.zip
prosody-im-server-2720454c8e1da38e9490dc7bf1e5333a952fc9ee.tar
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