aboutsummaryrefslogtreecommitdiffstats
path: root/util/error.lua
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/error.lua
parent869581384d74b506b026c70584a7338e7f1399cb (diff)
downloadprosody-43531740f99da82f023bee26d954fc71bde94635.tar.gz
prosody-43531740f99da82f023bee26d954fc71bde94635.zip
util: Prefix module imports with prosody namespace
Diffstat (limited to 'util/error.lua')
-rw-r--r--util/error.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/error.lua b/util/error.lua
index 326c01f8..da6d938c 100644
--- a/util/error.lua
+++ b/util/error.lua
@@ -1,4 +1,4 @@
-local id = require "util.id";
+local id = require "prosody.util.id";
local util_debug; -- only imported on-demand
@@ -19,7 +19,7 @@ local function configure(opt)
if opt.auto_inject_traceback ~= nil then
auto_inject_traceback = opt.auto_inject_traceback;
if auto_inject_traceback then
- util_debug = require "util.debug";
+ util_debug = require "prosody.util.debug";
end
end
end