Diff

util/sha1.lua @ 490:6b2f31da9610

Update for new Prosody module namespace
author Kim Alvefur <zash@zash.se>
date Sat, 20 May 2023 20:48:03 +0200
parent 486:6416ea3fff86
child 500:674daff6c73b
line wrap: on
line diff
--- a/util/sha1.lua	Tue May 23 19:46:52 2023 +0200
+++ b/util/sha1.lua	Sat May 20 20:48:03 2023 +0200
@@ -13,7 +13,7 @@
 local strbyte = string.byte
 local strsub  = string.sub
 local floor   = math.floor
-local bit     = bit32 or require "util.bit"
+local bit     = bit32 or require "prosody.util.bit"
 local bnot    = bit.bnot
 local band    = bit.band
 local bor     = bit.bor