Changeset

503:395ae8df5a9e

squishy: Move bit fallback module out of Prosody namespace This way, prosody.util.bitcompat should pick it up
author Kim Alvefur <zash@zash.se>
date Fri, 23 Jun 2023 22:20:24 +0200
parents 502:783188a44b0a
children 504:8ed3c95bf880
files squishy
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/squishy	Fri Jun 23 12:44:24 2023 +0200
+++ b/squishy	Fri Jun 23 22:20:24 2023 +0200
@@ -60,9 +60,6 @@
 	Module "net.http" "net/http.lua"
 	Module "util.x509" "util/x509.lua"
 
-	if GetOption "internal-bit-module" then
-		Module "bit" "libs/bit.lua"
-	end
 end
 
 ProsodyModules()
@@ -136,5 +133,9 @@
 VerseModule "verse.component" "component.lua"
 VerseModule "verse.bosh" "bosh.lua"
 
+if GetOption "internal-bit-module" then
+	Module "bit" "libs/bit.lua"
+end
+
 -- Main verse file
 Main "init.lua"