diff options
author | Kim Alvefur <zash@zash.se> | 2023-03-17 16:23:16 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-03-17 16:23:16 +0100 |
commit | 43531740f99da82f023bee26d954fc71bde94635 (patch) | |
tree | 558068f570448be5d36fc90cd52b530e33c7c324 /util/format.lua | |
parent | 869581384d74b506b026c70584a7338e7f1399cb (diff) | |
download | prosody-43531740f99da82f023bee26d954fc71bde94635.tar.gz prosody-43531740f99da82f023bee26d954fc71bde94635.zip |
util: Prefix module imports with prosody namespace
Diffstat (limited to 'util/format.lua')
-rw-r--r-- | util/format.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/format.lua b/util/format.lua index 0631f423..caeada63 100644 --- a/util/format.lua +++ b/util/format.lua @@ -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 |