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/xpcall.lua | |
parent | 869581384d74b506b026c70584a7338e7f1399cb (diff) | |
download | prosody-43531740f99da82f023bee26d954fc71bde94635.tar.gz prosody-43531740f99da82f023bee26d954fc71bde94635.zip |
util: Prefix module imports with prosody namespace
Diffstat (limited to 'util/xpcall.lua')
-rw-r--r-- | util/xpcall.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |