diff options
-rw-r--r-- | plugins/mod_storage_xep0227.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua index a8f608b3..c4fe30a4 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(user, host, xml) +local function default_set_user_xml(self, user, host, xml) local jid = jid_join(user, host); local path = paths.join(prosody.paths.data, jid..".xml"); local f, err = io_open(path, "w"); |