aboutsummaryrefslogtreecommitdiffstats
path: root/util/human
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-17 16:23:16 +0100
committerKim Alvefur <zash@zash.se>2023-03-17 16:23:16 +0100
commit43531740f99da82f023bee26d954fc71bde94635 (patch)
tree558068f570448be5d36fc90cd52b530e33c7c324 /util/human
parent869581384d74b506b026c70584a7338e7f1399cb (diff)
downloadprosody-43531740f99da82f023bee26d954fc71bde94635.tar.gz
prosody-43531740f99da82f023bee26d954fc71bde94635.zip
util: Prefix module imports with prosody namespace
Diffstat (limited to 'util/human')
-rw-r--r--util/human/io.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/human/io.lua b/util/human/io.lua
index b272af71..c050b335 100644
--- a/util/human/io.lua
+++ b/util/human/io.lua
@@ -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;