comparison util/datamapper.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
parents 8815d3090928
children b713da7527d2
comparison
equal deleted inserted replaced
12974:ba409c67353b 12975:d10957394a3c
1 -- This file is generated from teal-src/util/datamapper.lua 1 -- This file is generated from teal-src/util/datamapper.lua
2 2
3 if not math.type then 3 if not math.type then
4 require("util.mathcompat") 4 require("prosody.util.mathcompat")
5 end 5 end
6 6
7 local st = require("util.stanza"); 7 local st = require("prosody.util.stanza");
8 local pointer = require("util.jsonpointer"); 8 local pointer = require("prosody.util.jsonpointer");
9 9
10 local schema_t = {} 10 local schema_t = {}
11 11
12 local function toboolean(s) 12 local function toboolean(s)
13 if s == "true" or s == "1" then 13 if s == "true" or s == "1" then