aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/errors.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-17 16:23:12 +0100
committerKim Alvefur <zash@zash.se>2023-03-17 16:23:12 +0100
commit869581384d74b506b026c70584a7338e7f1399cb (patch)
tree218371460894ca55a38c69a959753bf9f73cc3da /net/http/errors.lua
parentffd1561c5e93ee8ef2195ff61175cbf30494acd5 (diff)
downloadprosody-869581384d74b506b026c70584a7338e7f1399cb.tar.gz
prosody-869581384d74b506b026c70584a7338e7f1399cb.zip
net: Prefix module imports with prosody namespace
Diffstat (limited to 'net/http/errors.lua')
-rw-r--r--net/http/errors.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/errors.lua b/net/http/errors.lua
index 1691e426..ca5f0ccc 100644
--- a/net/http/errors.lua
+++ b/net/http/errors.lua
@@ -2,8 +2,8 @@
-- and a function to return a util.error object given callback 'code' and 'body'
-- parameters.
-local codes = require "net.http.codes";
-local util_error = require "util.error";
+local codes = require "prosody.net.http.codes";
+local util_error = require "prosody.util.error";
local error_templates = {
-- This code is used by us to report a client-side or connection error.