mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +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();
|
f:close();
|
||||||
return parse_xml_real(s);
|
return parse_xml_real(s);
|
||||||
end
|
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 jid = jid_join(user, host);
|
||||||
local path = paths.join(prosody.paths.data, jid..".xml");
|
local path = paths.join(prosody.paths.data, jid..".xml");
|
||||||
local f, err = io_open(path, "w");
|
local f, err = io_open(path, "w");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue