Software /
code /
prosody
Comparison
teal-src/util/datamapper.tl @ 11450:25829015917c
util.datamapper: Add Copyright header
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 10 Mar 2021 00:18:39 +0100 |
parent | 11439:9abcdfdcdb01 |
child | 11451:ee4f2296e7df |
comparison
equal
deleted
inserted
replaced
11449:dabd1fae0540 | 11450:25829015917c |
---|---|
1 -- Copyright (C) 2021 Kim Alvefur | |
2 -- | |
3 -- This project is MIT/X11 licensed. Please see the | |
4 -- COPYING file in the source package for more information. | |
5 -- | |
6 | |
1 local st = require "util.stanza"; | 7 local st = require "util.stanza"; |
2 local js = require "util.jsonschema" | 8 local js = require "util.jsonschema" |
3 | 9 |
4 local function toboolean ( s : string ) : boolean | 10 local function toboolean ( s : string ) : boolean |
5 if s == "true" or s == "1" then | 11 if s == "true" or s == "1" then |