Comparison

util/caps.lua @ 12975:d10957394a3c

util: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 17 Mar 2023 16:23:16 +0100
parent 8555:4f0f5b49bb03
comparison
equal deleted inserted replaced
12974:ba409c67353b 12975:d10957394a3c
4 -- 4 --
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 local base64 = require "util.encodings".base64.encode; 9 local base64 = require "prosody.util.encodings".base64.encode;
10 local sha1 = require "util.hashes".sha1; 10 local sha1 = require "prosody.util.hashes".sha1;
11 11
12 local t_insert, t_sort, t_concat = table.insert, table.sort, table.concat; 12 local t_insert, t_sort, t_concat = table.insert, table.sort, table.concat;
13 local ipairs = ipairs; 13 local ipairs = ipairs;
14 14
15 local _ENV = nil; 15 local _ENV = nil;