From 43531740f99da82f023bee26d954fc71bde94635 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 17 Mar 2023 16:23:16 +0100 Subject: util: Prefix module imports with prosody namespace --- util/xpcall.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/xpcall.lua') diff --git a/util/xpcall.lua b/util/xpcall.lua index d2fc5011..852df03c 100644 --- a/util/xpcall.lua +++ b/util/xpcall.lua @@ -1,7 +1,7 @@ local xpcall = xpcall; if select(2, xpcall(function (x) return x end, function () end, "test")) ~= "test" then - xpcall = require"util.compat".xpcall; + xpcall = require"prosody.util.compat".xpcall; end return { -- cgit v1.2.3