Diff

squishy @ 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
parent 500:674daff6c73b
child 504:8ed3c95bf880
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"