Software /
code /
verse
Diff
plugins/vcard_update.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 | 395:e86144a4eaa1 |
line wrap: on
line diff
--- a/plugins/vcard_update.lua Tue May 23 19:46:52 2023 +0200 +++ b/plugins/vcard_update.lua Sat May 20 20:48:03 2023 +0200 @@ -3,10 +3,10 @@ -- local xmlns_vcard = "vcard-temp"; local xmlns_vcard_update = "vcard-temp:x:update"; -local sha1 = require("util.hashes").sha1; +local sha1 = require("prosody.util.hashes").sha1; local ok, fun = pcall(function() - local unb64 = require("util.encodings").base64.decode; + local unb64 = require("prosody.util.encodings").base64.decode; assert(unb64("SGVsbG8=") == "Hello") return unb64; end);