aboutsummaryrefslogtreecommitdiffstats
path: root/util/queue.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-17 16:23:16 +0100
committerKim Alvefur <zash@zash.se>2023-03-17 16:23:16 +0100
commit43531740f99da82f023bee26d954fc71bde94635 (patch)
tree558068f570448be5d36fc90cd52b530e33c7c324 /util/queue.lua
parent869581384d74b506b026c70584a7338e7f1399cb (diff)
downloadprosody-43531740f99da82f023bee26d954fc71bde94635.tar.gz
prosody-43531740f99da82f023bee26d954fc71bde94635.zip
util: Prefix module imports with prosody namespace
Diffstat (limited to 'util/queue.lua')
-rw-r--r--util/queue.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/queue.lua b/util/queue.lua
index c94c62ae..8cff944a 100644
--- a/util/queue.lua
+++ b/util/queue.lua
@@ -9,7 +9,7 @@
-- Small ringbuffer library (i.e. an efficient FIFO queue with a size limit)
-- (because unbounded dynamically-growing queues are a bad thing...)
-local have_utable, utable = pcall(require, "util.table"); -- For pre-allocation of table
+local have_utable, utable = pcall(require, "prosody.util.table"); -- For pre-allocation of table
local function new(size, allow_wrapping)
-- Head is next insert, tail is next read