# HG changeset patch # User Kim Alvefur # Date 1687374185 -7200 # Node ID 1ca531495c3d4b0529f86dd9a14cdb70dbce6c90 # Parent 08e5c8637fea2eb4920e0c5098ed357d35ad7bdd squishy: Move some compat layers into verse namespace This way, if the prosody libraries are available, they could be used from the verse compat layres diff -r 08e5c8637fea -r 1ca531495c3d squishy --- a/squishy Wed Jun 21 15:22:17 2023 +0200 +++ b/squishy Wed Jun 21 21:03:05 2023 +0200 @@ -7,11 +7,6 @@ function ProsodyModules() local Module = ProsodyModule; - -- Verse-specific versions of libraries - Module "util.encodings" "libs/encodings.lua" - Module "util.hashes" "libs/hashes.lua" - Module "lib.adhoc" "libs/adhoc.lib.lua" - Module "util.table" "libs/table.lua" -- Prosody libraries if not GetOption("prosody") then @@ -121,6 +116,12 @@ VerseModule("verse.plugins." .. plugin)("plugins/" .. plugin .. ".lua") end +-- Verse-specific versions of libraries +VerseModule "verse.util.adhoc" "libs/adhoc.lib.lua" +VerseModule "verse.util.encodings" "libs/encodings.lua" +VerseModule "verse.util.hashes" "libs/hashes.lua" +VerseModule "verse.util.table" "libs/table.lua" + VerseModule "verse.server" "server.lua" -- SASL client mechanisms