diff options
author | Kim Alvefur <zash@zash.se> | 2023-03-17 16:23:12 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-03-17 16:23:12 +0100 |
commit | 869581384d74b506b026c70584a7338e7f1399cb (patch) | |
tree | 218371460894ca55a38c69a959753bf9f73cc3da /net/websocket.lua | |
parent | ffd1561c5e93ee8ef2195ff61175cbf30494acd5 (diff) | |
download | prosody-869581384d74b506b026c70584a7338e7f1399cb.tar.gz prosody-869581384d74b506b026c70584a7338e7f1399cb.zip |
net: Prefix module imports with prosody namespace
Diffstat (limited to 'net/websocket.lua')
-rw-r--r-- | net/websocket.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/websocket.lua b/net/websocket.lua index 193cd556..708a7be7 100644 --- a/net/websocket.lua +++ b/net/websocket.lua @@ -8,13 +8,13 @@ local t_concat = table.concat; -local http = require "net.http"; -local frames = require "net.websocket.frames"; -local base64 = require "util.encodings".base64; -local sha1 = require "util.hashes".sha1; -local random_bytes = require "util.random".bytes; -local timer = require "util.timer"; -local log = require "util.logger".init "websocket"; +local http = require "prosody.net.http"; +local frames = require "prosody.net.websocket.frames"; +local base64 = require "prosody.util.encodings".base64; +local sha1 = require "prosody.util.hashes".sha1; +local random_bytes = require "prosody.util.random".bytes; +local timer = require "prosody.util.timer"; +local log = require "prosody.util.logger".init "websocket"; local close_timeout = 3; -- Seconds to wait after sending close frame until closing connection. |