Mercurial > prosody-hg
diff util/queue.lua @ 12975:d10957394a3c
util: Prefix module imports with prosody namespace
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 17 Mar 2023 16:23:16 +0100 |
| parents | 6a608ecb3471 |
| children | f50a9746fec0 |
line wrap: on
line diff
--- a/util/queue.lua Fri Mar 17 16:23:12 2023 +0100 +++ b/util/queue.lua Fri Mar 17 16:23:16 2023 +0100 @@ -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
