Diff

util/format.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 12781:22066b02887f
child 12983:4533c9b906b0
line wrap: on
line diff
--- a/util/format.lua	Fri Mar 17 16:23:12 2023 +0100
+++ b/util/format.lua	Fri Mar 17 16:23:16 2023 +0100
@@ -8,9 +8,9 @@
 local tostring = tostring;
 local unpack = table.unpack;
 local pack = table.pack;
-local valid_utf8 = require "util.encodings".utf8.valid;
+local valid_utf8 = require "prosody.util.encodings".utf8.valid;
 local type = type;
-local dump = require "util.serialization".new("debug");
+local dump = require "prosody.util.serialization".new("debug");
 local num_type = math.type;
 
 -- In Lua 5.3+ these formats throw an error if given a float