mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_storage_xep0227: Fix luacheck warning
This commit is contained in:
parent
2e538ffc6b
commit
d595ebf9e1
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue