aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-01-17 14:18:27 +0000
committerMatthew Wild <mwild1@gmail.com>2022-01-17 14:18:27 +0000
commitd595ebf9e1707a75d2c9190ad53a34ab3cde99ca (patch)
tree8736d20e03ab3e65e6e6870df1405f64c5c5995b /plugins
parent2e538ffc6b59aab516438774037324acc240b317 (diff)
downloadprosody-d595ebf9e1707a75d2c9190ad53a34ab3cde99ca.tar.gz
prosody-d595ebf9e1707a75d2c9190ad53a34ab3cde99ca.zip
mod_storage_xep0227: Fix luacheck warning
Diffstat (limited to 'plugins')
-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 d169de24..1a7baaeb 100644
--- a/plugins/mod_storage_xep0227.lua
+++ b/plugins/mod_storage_xep0227.lua
@@ -34,7 +34,7 @@ local function default_get_user_xml(self, user, host) --luacheck: ignore 212/sel
f:close();
return parse_xml_real(s);
end
-local function default_set_user_xml(self, user, host, xml)
+local function default_set_user_xml(self, user, host, xml) --luacheck: ignore 212/self
local jid = jid_join(user, host);
local path = paths.join(prosody.paths.data, jid..".xml");
local f, err = io_open(path, "w");