From 5a1aa107c36d48a7f9c0b94d3b7b5f94eb1889af Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 26 Dec 2021 20:37:20 +0000 Subject: util.xml: Use variable instead of constant for consistency (thanks Thijs) --- util/xml.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/xml.lua b/util/xml.lua index f826b6bf..38411bfb 100644 --- a/util/xml.lua +++ b/util/xml.lua @@ -64,7 +64,7 @@ local parse_xml = (function() function handler:EndElement() stanza:up(); end - local parser = lxp.new(handler, "\1"); + local parser = lxp.new(handler, ns_separator); local ok, err, line, col = parser:parse(xml); if ok then ok, err, line, col = parser:parse(); end --parser:close(); -- cgit v1.2.3