aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.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/server_event.lua
parentffd1561c5e93ee8ef2195ff61175cbf30494acd5 (diff)
downloadprosody-869581384d74b506b026c70584a7338e7f1399cb.tar.gz
prosody-869581384d74b506b026c70584a7338e7f1399cb.zip
net: Prefix module imports with prosody namespace
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index d8f08c8d..3bad3474 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -50,14 +50,14 @@ local coroutine_yield = coroutine.yield
local has_luasec = pcall ( require , "ssl" )
local socket = require "socket"
local levent = require "luaevent.core"
-local inet = require "util.net";
+local inet = require "prosody.util.net";
local inet_pton = inet.pton;
-local sslconfig = require "util.sslconfig";
-local tls_impl = require "net.tls_luasec";
+local sslconfig = require "prosody.util.sslconfig";
+local tls_impl = require "prosody.net.tls_luasec";
local socket_gettime = socket.gettime
-local log = require ("util.logger").init("socket")
+local log = require ("prosody.util.logger").init("socket")
local function debug(...)
return log("debug", ("%s "):rep(select('#', ...)), ...)