Diff

util/human/io.lua @ 12975:d10957394a3c

util: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 17 Mar 2023 16:23:16 +0100
parent 12783:d513e4bd4928
child 13030:1f89a2a9f532
line wrap: on
line diff
--- a/util/human/io.lua	Fri Mar 17 16:23:12 2023 +0100
+++ b/util/human/io.lua	Fri Mar 17 16:23:16 2023 +0100
@@ -1,5 +1,5 @@
-local array = require "util.array";
-local utf8 = rawget(_G, "utf8") or require"util.encodings".utf8;
+local array = require "prosody.util.array";
+local utf8 = rawget(_G, "utf8") or require"prosody.util.encodings".utf8;
 local len = utf8.len or function(s)
 	local _, count = s:gsub("[%z\001-\127\194-\253][\128-\191]*", "");
 	return count;