aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile2
-rw-r--r--teal-src/module.d.tl2
-rw-r--r--teal-src/prosody/core/storagemanager.d.tl (renamed from teal-src/core/storagemanager.d.tl)2
-rw-r--r--teal-src/prosody/core/usermanager.d.tl (renamed from teal-src/core/usermanager.d.tl)2
-rw-r--r--teal-src/prosody/net/http.d.tl (renamed from teal-src/net/http.d.tl)2
-rw-r--r--teal-src/prosody/net/http/codes.d.tl (renamed from teal-src/net/http/codes.d.tl)0
-rw-r--r--teal-src/prosody/net/http/errors.d.tl (renamed from teal-src/net/http/errors.d.tl)0
-rw-r--r--teal-src/prosody/net/http/files.d.tl (renamed from teal-src/net/http/files.d.tl)0
-rw-r--r--teal-src/prosody/net/http/parser.d.tl (renamed from teal-src/net/http/parser.d.tl)0
-rw-r--r--teal-src/prosody/net/http/server.d.tl (renamed from teal-src/net/http/server.d.tl)0
-rw-r--r--teal-src/prosody/net/server.d.tl (renamed from teal-src/net/server.d.tl)0
-rw-r--r--teal-src/prosody/plugins/mod_cron.tl (renamed from teal-src/plugins/mod_cron.tl)4
-rw-r--r--teal-src/prosody/plugins/muc/muc.lib.d.tl (renamed from teal-src/plugins/muc/muc.lib.d.tl)2
-rw-r--r--teal-src/prosody/util/array.d.tl (renamed from teal-src/util/array.d.tl)0
-rw-r--r--teal-src/prosody/util/async.d.tl (renamed from teal-src/util/async.d.tl)0
-rw-r--r--teal-src/prosody/util/bitcompat.d.tl (renamed from teal-src/util/bitcompat.d.tl)0
-rw-r--r--teal-src/prosody/util/compat.d.tl (renamed from teal-src/util/compat.d.tl)0
-rw-r--r--teal-src/prosody/util/crand.d.tl (renamed from teal-src/util/crand.d.tl)0
-rw-r--r--teal-src/prosody/util/crypto.d.tl (renamed from teal-src/util/crypto.d.tl)0
-rw-r--r--teal-src/prosody/util/dataforms.d.tl (renamed from teal-src/util/dataforms.d.tl)2
-rw-r--r--teal-src/prosody/util/datamapper.tl (renamed from teal-src/util/datamapper.tl)10
-rw-r--r--teal-src/prosody/util/datetime.d.tl (renamed from teal-src/util/datetime.d.tl)0
-rw-r--r--teal-src/prosody/util/encodings.d.tl (renamed from teal-src/util/encodings.d.tl)0
-rw-r--r--teal-src/prosody/util/error.d.tl (renamed from teal-src/util/error.d.tl)0
-rw-r--r--teal-src/prosody/util/format.d.tl (renamed from teal-src/util/format.d.tl)0
-rw-r--r--teal-src/prosody/util/hashes.d.tl (renamed from teal-src/util/hashes.d.tl)0
-rw-r--r--teal-src/prosody/util/hex.d.tl (renamed from teal-src/util/hex.d.tl)0
-rw-r--r--teal-src/prosody/util/http.d.tl (renamed from teal-src/util/http.d.tl)0
-rw-r--r--teal-src/prosody/util/human/io.d.tl (renamed from teal-src/util/human/io.d.tl)0
-rw-r--r--teal-src/prosody/util/human/units.d.tl (renamed from teal-src/util/human/units.d.tl)0
-rw-r--r--teal-src/prosody/util/id.d.tl (renamed from teal-src/util/id.d.tl)0
-rw-r--r--teal-src/prosody/util/interpolation.d.tl (renamed from teal-src/util/interpolation.d.tl)0
-rw-r--r--teal-src/prosody/util/ip.d.tl (renamed from teal-src/util/ip.d.tl)0
-rw-r--r--teal-src/prosody/util/jid.d.tl (renamed from teal-src/util/jid.d.tl)0
-rw-r--r--teal-src/prosody/util/json.d.tl (renamed from teal-src/util/json.d.tl)0
-rw-r--r--teal-src/prosody/util/jsonpointer.tl (renamed from teal-src/util/jsonpointer.tl)0
-rw-r--r--teal-src/prosody/util/jsonschema.tl (renamed from teal-src/util/jsonschema.tl)6
-rw-r--r--teal-src/prosody/util/jwt.d.tl (renamed from teal-src/util/jwt.d.tl)2
-rw-r--r--teal-src/prosody/util/logger.d.tl (renamed from teal-src/util/logger.d.tl)0
-rw-r--r--teal-src/prosody/util/mathcompat.tl (renamed from teal-src/util/mathcompat.tl)0
-rw-r--r--teal-src/prosody/util/net.d.tl (renamed from teal-src/util/net.d.tl)0
-rw-r--r--teal-src/prosody/util/poll.d.tl (renamed from teal-src/util/poll.d.tl)0
-rw-r--r--teal-src/prosody/util/pposix.d.tl (renamed from teal-src/util/pposix.d.tl)0
-rw-r--r--teal-src/prosody/util/promise.d.tl (renamed from teal-src/util/promise.d.tl)0
-rw-r--r--teal-src/prosody/util/queue.d.tl (renamed from teal-src/util/queue.d.tl)0
-rw-r--r--teal-src/prosody/util/random.d.tl (renamed from teal-src/util/random.d.tl)0
-rw-r--r--teal-src/prosody/util/ringbuffer.d.tl (renamed from teal-src/util/ringbuffer.d.tl)0
-rw-r--r--teal-src/prosody/util/roles.d.tl (renamed from teal-src/util/roles.d.tl)0
-rw-r--r--teal-src/prosody/util/serialization.d.tl (renamed from teal-src/util/serialization.d.tl)0
-rw-r--r--teal-src/prosody/util/set.d.tl (renamed from teal-src/util/set.d.tl)0
-rw-r--r--teal-src/prosody/util/signal.d.tl (renamed from teal-src/util/signal.d.tl)0
-rw-r--r--teal-src/prosody/util/smqueue.tl (renamed from teal-src/util/smqueue.tl)2
-rw-r--r--teal-src/prosody/util/stanza.d.tl (renamed from teal-src/util/stanza.d.tl)0
-rw-r--r--teal-src/prosody/util/strbitop.d.tl (renamed from teal-src/util/strbitop.d.tl)0
-rw-r--r--teal-src/prosody/util/struct.d.tl (renamed from teal-src/util/struct.d.tl)0
-rw-r--r--teal-src/prosody/util/table.d.tl (renamed from teal-src/util/table.d.tl)0
-rw-r--r--teal-src/prosody/util/termcolours.d.tl (renamed from teal-src/util/termcolours.d.tl)0
-rw-r--r--teal-src/prosody/util/time.d.tl (renamed from teal-src/util/time.d.tl)0
-rw-r--r--teal-src/prosody/util/timer.d.tl (renamed from teal-src/util/timer.d.tl)0
-rw-r--r--teal-src/prosody/util/uuid.d.tl (renamed from teal-src/util/uuid.d.tl)0
-rw-r--r--teal-src/prosody/util/xtemplate.tl (renamed from teal-src/util/xtemplate.tl)2
61 files changed, 20 insertions, 20 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b13f7a47..ec51c893 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -135,7 +135,7 @@ lint:
@echo $$(sed -n '/^\tlocal exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored
shellcheck configure
-vpath %.tl teal-src/
+vpath %.tl teal-src/prosody
%.lua: %.tl
tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@
-lua-format -i $@
diff --git a/teal-src/module.d.tl b/teal-src/module.d.tl
index 24eb9558..62c36b29 100644
--- a/teal-src/module.d.tl
+++ b/teal-src/module.d.tl
@@ -1,4 +1,4 @@
-local st = require"util.stanza"
+local st = require "prosody.util.stanza"
global record moduleapi
get_name : function (moduleapi) : string
diff --git a/teal-src/core/storagemanager.d.tl b/teal-src/prosody/core/storagemanager.d.tl
index 3c8253b1..bd82357c 100644
--- a/teal-src/core/storagemanager.d.tl
+++ b/teal-src/prosody/core/storagemanager.d.tl
@@ -4,7 +4,7 @@
-- Key-Value stores (the default)
-local stanza = require"util.stanza".stanza_t
+local stanza = require"prosody.util.stanza".stanza_t
local record keyval_store
get : function ( keyval_store, string ) : any , string
diff --git a/teal-src/core/usermanager.d.tl b/teal-src/prosody/core/usermanager.d.tl
index a546a53c..fc055004 100644
--- a/teal-src/core/usermanager.d.tl
+++ b/teal-src/prosody/core/usermanager.d.tl
@@ -1,4 +1,4 @@
-local Role = require "util.roles".Role;
+local Role = require "prosody.util.roles".Role;
local record usermanager
record AuthProvider
diff --git a/teal-src/net/http.d.tl b/teal-src/prosody/net/http.d.tl
index 9135ec12..08542e45 100644
--- a/teal-src/net/http.d.tl
+++ b/teal-src/prosody/net/http.d.tl
@@ -1,4 +1,4 @@
-local Promise = require "util.promise".Promise;
+local Promise = require "prosody.util.promise".Promise;
local record sslctx -- from LuaSec
end
diff --git a/teal-src/net/http/codes.d.tl b/teal-src/prosody/net/http/codes.d.tl
index 65d004fc..65d004fc 100644
--- a/teal-src/net/http/codes.d.tl
+++ b/teal-src/prosody/net/http/codes.d.tl
diff --git a/teal-src/net/http/errors.d.tl b/teal-src/prosody/net/http/errors.d.tl
index a9b6ea6c..a9b6ea6c 100644
--- a/teal-src/net/http/errors.d.tl
+++ b/teal-src/prosody/net/http/errors.d.tl
diff --git a/teal-src/net/http/files.d.tl b/teal-src/prosody/net/http/files.d.tl
index d0ba5c1c..d0ba5c1c 100644
--- a/teal-src/net/http/files.d.tl
+++ b/teal-src/prosody/net/http/files.d.tl
diff --git a/teal-src/net/http/parser.d.tl b/teal-src/prosody/net/http/parser.d.tl
index 1cd6ccf4..1cd6ccf4 100644
--- a/teal-src/net/http/parser.d.tl
+++ b/teal-src/prosody/net/http/parser.d.tl
diff --git a/teal-src/net/http/server.d.tl b/teal-src/prosody/net/http/server.d.tl
index 5a83af7e..5a83af7e 100644
--- a/teal-src/net/http/server.d.tl
+++ b/teal-src/prosody/net/http/server.d.tl
diff --git a/teal-src/net/server.d.tl b/teal-src/prosody/net/server.d.tl
index bb61f677..bb61f677 100644
--- a/teal-src/net/server.d.tl
+++ b/teal-src/prosody/net/server.d.tl
diff --git a/teal-src/plugins/mod_cron.tl b/teal-src/prosody/plugins/mod_cron.tl
index 7fa2a36b..b71b5f74 100644
--- a/teal-src/plugins/mod_cron.tl
+++ b/teal-src/prosody/plugins/mod_cron.tl
@@ -1,7 +1,7 @@
module:set_global();
-local async = require "util.async";
-local datetime = require "util.datetime";
+local async = require "prosody.util.async";
+local datetime = require "prosody.util.datetime";
local record map_store<K,V>
-- TODO move to somewhere sensible
diff --git a/teal-src/plugins/muc/muc.lib.d.tl b/teal-src/prosody/plugins/muc/muc.lib.d.tl
index 1e967d7b..6e9663a1 100644
--- a/teal-src/plugins/muc/muc.lib.d.tl
+++ b/teal-src/prosody/plugins/muc/muc.lib.d.tl
@@ -1,4 +1,4 @@
-local Stanza = require "util.stanza".stanza_t
+local Stanza = require "prosody.util.stanza".stanza_t
local record Room
jid : string
diff --git a/teal-src/util/array.d.tl b/teal-src/prosody/util/array.d.tl
index 70bf2624..70bf2624 100644
--- a/teal-src/util/array.d.tl
+++ b/teal-src/prosody/util/array.d.tl
diff --git a/teal-src/util/async.d.tl b/teal-src/prosody/util/async.d.tl
index a2e41cd6..a2e41cd6 100644
--- a/teal-src/util/async.d.tl
+++ b/teal-src/prosody/util/async.d.tl
diff --git a/teal-src/util/bitcompat.d.tl b/teal-src/prosody/util/bitcompat.d.tl
index 18adf725..18adf725 100644
--- a/teal-src/util/bitcompat.d.tl
+++ b/teal-src/prosody/util/bitcompat.d.tl
diff --git a/teal-src/util/compat.d.tl b/teal-src/prosody/util/compat.d.tl
index da9c6083..da9c6083 100644
--- a/teal-src/util/compat.d.tl
+++ b/teal-src/prosody/util/compat.d.tl
diff --git a/teal-src/util/crand.d.tl b/teal-src/prosody/util/crand.d.tl
index b40cb67e..b40cb67e 100644
--- a/teal-src/util/crand.d.tl
+++ b/teal-src/prosody/util/crand.d.tl
diff --git a/teal-src/util/crypto.d.tl b/teal-src/prosody/util/crypto.d.tl
index cf0b0d1b..cf0b0d1b 100644
--- a/teal-src/util/crypto.d.tl
+++ b/teal-src/prosody/util/crypto.d.tl
diff --git a/teal-src/util/dataforms.d.tl b/teal-src/prosody/util/dataforms.d.tl
index 0eddf98e..3dad2776 100644
--- a/teal-src/util/dataforms.d.tl
+++ b/teal-src/prosody/util/dataforms.d.tl
@@ -1,4 +1,4 @@
-local stanza_t = require "util.stanza".stanza_t
+local stanza_t = require "prosody.util.stanza".stanza_t
local record lib
record dataform
diff --git a/teal-src/util/datamapper.tl b/teal-src/prosody/util/datamapper.tl
index 4ff3a02c..89d5e29b 100644
--- a/teal-src/util/datamapper.tl
+++ b/teal-src/prosody/util/datamapper.tl
@@ -19,14 +19,14 @@
-- TODO s/number/integer/ once we have appropriate math.type() compat
--
-if not math.type then require "util.mathcompat" end
+if not math.type then require "prosody.util.mathcompat" end
-local st = require "util.stanza";
-local json = require"util.json"
-local pointer = require"util.jsonpointer";
+local st = require "prosody.util.stanza";
+local json = require "prosody.util.json"
+local pointer = require "prosody.util.jsonpointer";
local json_type_name = json.json_type_name;
-local json_schema_object = require "util.jsonschema"
+local json_schema_object = require "prosody.util.jsonschema"
local type schema_t = boolean | json_schema_object
local function toboolean ( s : string ) : boolean
diff --git a/teal-src/util/datetime.d.tl b/teal-src/prosody/util/datetime.d.tl
index 9f770a73..9f770a73 100644
--- a/teal-src/util/datetime.d.tl
+++ b/teal-src/prosody/util/datetime.d.tl
diff --git a/teal-src/util/encodings.d.tl b/teal-src/prosody/util/encodings.d.tl
index 58aefa5e..58aefa5e 100644
--- a/teal-src/util/encodings.d.tl
+++ b/teal-src/prosody/util/encodings.d.tl
diff --git a/teal-src/util/error.d.tl b/teal-src/prosody/util/error.d.tl
index 4c3a7196..4c3a7196 100644
--- a/teal-src/util/error.d.tl
+++ b/teal-src/prosody/util/error.d.tl
diff --git a/teal-src/util/format.d.tl b/teal-src/prosody/util/format.d.tl
index 1ff77c97..1ff77c97 100644
--- a/teal-src/util/format.d.tl
+++ b/teal-src/prosody/util/format.d.tl
diff --git a/teal-src/util/hashes.d.tl b/teal-src/prosody/util/hashes.d.tl
index 5c249627..5c249627 100644
--- a/teal-src/util/hashes.d.tl
+++ b/teal-src/prosody/util/hashes.d.tl
diff --git a/teal-src/util/hex.d.tl b/teal-src/prosody/util/hex.d.tl
index 9d84540b..9d84540b 100644
--- a/teal-src/util/hex.d.tl
+++ b/teal-src/prosody/util/hex.d.tl
diff --git a/teal-src/util/http.d.tl b/teal-src/prosody/util/http.d.tl
index ecbe35c3..ecbe35c3 100644
--- a/teal-src/util/http.d.tl
+++ b/teal-src/prosody/util/http.d.tl
diff --git a/teal-src/util/human/io.d.tl b/teal-src/prosody/util/human/io.d.tl
index e4f64cd1..e4f64cd1 100644
--- a/teal-src/util/human/io.d.tl
+++ b/teal-src/prosody/util/human/io.d.tl
diff --git a/teal-src/util/human/units.d.tl b/teal-src/prosody/util/human/units.d.tl
index 3db17c3a..3db17c3a 100644
--- a/teal-src/util/human/units.d.tl
+++ b/teal-src/prosody/util/human/units.d.tl
diff --git a/teal-src/util/id.d.tl b/teal-src/prosody/util/id.d.tl
index 4b6c93b7..4b6c93b7 100644
--- a/teal-src/util/id.d.tl
+++ b/teal-src/prosody/util/id.d.tl
diff --git a/teal-src/util/interpolation.d.tl b/teal-src/prosody/util/interpolation.d.tl
index fb653edf..fb653edf 100644
--- a/teal-src/util/interpolation.d.tl
+++ b/teal-src/prosody/util/interpolation.d.tl
diff --git a/teal-src/util/ip.d.tl b/teal-src/prosody/util/ip.d.tl
index 79e901c6..79e901c6 100644
--- a/teal-src/util/ip.d.tl
+++ b/teal-src/prosody/util/ip.d.tl
diff --git a/teal-src/util/jid.d.tl b/teal-src/prosody/util/jid.d.tl
index 897318d9..897318d9 100644
--- a/teal-src/util/jid.d.tl
+++ b/teal-src/prosody/util/jid.d.tl
diff --git a/teal-src/util/json.d.tl b/teal-src/prosody/util/json.d.tl
index a1c25004..a1c25004 100644
--- a/teal-src/util/json.d.tl
+++ b/teal-src/prosody/util/json.d.tl
diff --git a/teal-src/util/jsonpointer.tl b/teal-src/prosody/util/jsonpointer.tl
index c21e1fbf..c21e1fbf 100644
--- a/teal-src/util/jsonpointer.tl
+++ b/teal-src/prosody/util/jsonpointer.tl
diff --git a/teal-src/util/jsonschema.tl b/teal-src/prosody/util/jsonschema.tl
index 14b04370..8e5d69bc 100644
--- a/teal-src/util/jsonschema.tl
+++ b/teal-src/prosody/util/jsonschema.tl
@@ -8,12 +8,12 @@
-- https://json-schema.org/draft/2020-12/json-schema-validation.html
--
-if not math.type then require "util.mathcompat" end
+if not math.type then require "prosody.util.mathcompat" end
-local json = require"util.json"
+local json = require "prosody.util.json"
local null = json.null;
-local pointer = require "util.jsonpointer"
+local pointer = require "prosody.util.jsonpointer"
local type json_type_name = json.json_type_name
diff --git a/teal-src/util/jwt.d.tl b/teal-src/prosody/util/jwt.d.tl
index 929d7419..b3d0cd9e 100644
--- a/teal-src/util/jwt.d.tl
+++ b/teal-src/prosody/util/jwt.d.tl
@@ -1,4 +1,4 @@
-local crypto = require "util.crypto"
+local crypto = require "prosody.util.crypto"
local record jwtlib
enum algorithm
"HS256"
diff --git a/teal-src/util/logger.d.tl b/teal-src/prosody/util/logger.d.tl
index db29adfd..db29adfd 100644
--- a/teal-src/util/logger.d.tl
+++ b/teal-src/prosody/util/logger.d.tl
diff --git a/teal-src/util/mathcompat.tl b/teal-src/prosody/util/mathcompat.tl
index 1e3f9bab..1e3f9bab 100644
--- a/teal-src/util/mathcompat.tl
+++ b/teal-src/prosody/util/mathcompat.tl
diff --git a/teal-src/util/net.d.tl b/teal-src/prosody/util/net.d.tl
index 1040fcef..1040fcef 100644
--- a/teal-src/util/net.d.tl
+++ b/teal-src/prosody/util/net.d.tl
diff --git a/teal-src/util/poll.d.tl b/teal-src/prosody/util/poll.d.tl
index 8df56d57..8df56d57 100644
--- a/teal-src/util/poll.d.tl
+++ b/teal-src/prosody/util/poll.d.tl
diff --git a/teal-src/util/pposix.d.tl b/teal-src/prosody/util/pposix.d.tl
index 68f49730..68f49730 100644
--- a/teal-src/util/pposix.d.tl
+++ b/teal-src/prosody/util/pposix.d.tl
diff --git a/teal-src/util/promise.d.tl b/teal-src/prosody/util/promise.d.tl
index d895a828..d895a828 100644
--- a/teal-src/util/promise.d.tl
+++ b/teal-src/prosody/util/promise.d.tl
diff --git a/teal-src/util/queue.d.tl b/teal-src/prosody/util/queue.d.tl
index cb8458e7..cb8458e7 100644
--- a/teal-src/util/queue.d.tl
+++ b/teal-src/prosody/util/queue.d.tl
diff --git a/teal-src/util/random.d.tl b/teal-src/prosody/util/random.d.tl
index 83ff2fcc..83ff2fcc 100644
--- a/teal-src/util/random.d.tl
+++ b/teal-src/prosody/util/random.d.tl
diff --git a/teal-src/util/ringbuffer.d.tl b/teal-src/prosody/util/ringbuffer.d.tl
index e4726d68..e4726d68 100644
--- a/teal-src/util/ringbuffer.d.tl
+++ b/teal-src/prosody/util/ringbuffer.d.tl
diff --git a/teal-src/util/roles.d.tl b/teal-src/prosody/util/roles.d.tl
index fef4f88a..fef4f88a 100644
--- a/teal-src/util/roles.d.tl
+++ b/teal-src/prosody/util/roles.d.tl
diff --git a/teal-src/util/serialization.d.tl b/teal-src/prosody/util/serialization.d.tl
index 27f100c0..27f100c0 100644
--- a/teal-src/util/serialization.d.tl
+++ b/teal-src/prosody/util/serialization.d.tl
diff --git a/teal-src/util/set.d.tl b/teal-src/prosody/util/set.d.tl
index 1631eec4..1631eec4 100644
--- a/teal-src/util/set.d.tl
+++ b/teal-src/prosody/util/set.d.tl
diff --git a/teal-src/util/signal.d.tl b/teal-src/prosody/util/signal.d.tl
index 290cf08f..290cf08f 100644
--- a/teal-src/util/signal.d.tl
+++ b/teal-src/prosody/util/signal.d.tl
diff --git a/teal-src/util/smqueue.tl b/teal-src/prosody/util/smqueue.tl
index e149dde7..821aee57 100644
--- a/teal-src/util/smqueue.tl
+++ b/teal-src/prosody/util/smqueue.tl
@@ -1,4 +1,4 @@
-local queue = require "util.queue";
+local queue = require "prosody.util.queue";
local record lib
-- T would typically be util.stanza
diff --git a/teal-src/util/stanza.d.tl b/teal-src/prosody/util/stanza.d.tl
index e1ab2105..e1ab2105 100644
--- a/teal-src/util/stanza.d.tl
+++ b/teal-src/prosody/util/stanza.d.tl
diff --git a/teal-src/util/strbitop.d.tl b/teal-src/prosody/util/strbitop.d.tl
index 010efdb8..010efdb8 100644
--- a/teal-src/util/strbitop.d.tl
+++ b/teal-src/prosody/util/strbitop.d.tl
diff --git a/teal-src/util/struct.d.tl b/teal-src/prosody/util/struct.d.tl
index 201aaa23..201aaa23 100644
--- a/teal-src/util/struct.d.tl
+++ b/teal-src/prosody/util/struct.d.tl
diff --git a/teal-src/util/table.d.tl b/teal-src/prosody/util/table.d.tl
index 67e5d0f0..67e5d0f0 100644
--- a/teal-src/util/table.d.tl
+++ b/teal-src/prosody/util/table.d.tl
diff --git a/teal-src/util/termcolours.d.tl b/teal-src/prosody/util/termcolours.d.tl
index 226259aa..226259aa 100644
--- a/teal-src/util/termcolours.d.tl
+++ b/teal-src/prosody/util/termcolours.d.tl
diff --git a/teal-src/util/time.d.tl b/teal-src/prosody/util/time.d.tl
index e159706b..e159706b 100644
--- a/teal-src/util/time.d.tl
+++ b/teal-src/prosody/util/time.d.tl
diff --git a/teal-src/util/timer.d.tl b/teal-src/prosody/util/timer.d.tl
index a6394cf3..a6394cf3 100644
--- a/teal-src/util/timer.d.tl
+++ b/teal-src/prosody/util/timer.d.tl
diff --git a/teal-src/util/uuid.d.tl b/teal-src/prosody/util/uuid.d.tl
index 284a4e4c..284a4e4c 100644
--- a/teal-src/util/uuid.d.tl
+++ b/teal-src/prosody/util/uuid.d.tl
diff --git a/teal-src/util/xtemplate.tl b/teal-src/prosody/util/xtemplate.tl
index b3bdc400..7f3b513a 100644
--- a/teal-src/util/xtemplate.tl
+++ b/teal-src/prosody/util/xtemplate.tl
@@ -14,7 +14,7 @@ local s_match = string.match;
local s_sub = string.sub;
local t_concat = table.concat;
-local st = require "util.stanza";
+local st = require "prosody.util.stanza";
local type escape_t = function (string) : string
local type filter_t = function (string, string | st.stanza_t, string) : string | st.stanza_t, boolean