mod_storage_xep0227: Fix luacheck warning

0.12
Matthew Wild 4 years ago
parent 2e538ffc6b
commit d595ebf9e1
  1. 2
      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");

Loading…
Cancel
Save