Changeset

12195:c5788969b812

mod_storage_xep0227: Fix luacheck warning
author Matthew Wild <mwild1@gmail.com>
date Mon, 17 Jan 2022 14:18:27 +0000
parents 12194:9965d7d126c7
children 12196:b05e0b422ff7
files plugins/mod_storage_xep0227.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_storage_xep0227.lua	Mon Jan 17 14:12:45 2022 +0000
+++ b/plugins/mod_storage_xep0227.lua	Mon Jan 17 14:18:27 2022 +0000
@@ -34,7 +34,7 @@
 	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");