Mercurial > prosody-hg
comparison util/dataforms.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 | 2138fc13d53a |
| children | 44e5c73e6fa3 |
comparison
equal
deleted
inserted
replaced
| 12974:ba409c67353b | 12975:d10957394a3c |
|---|---|
| 10 local ipairs = ipairs; | 10 local ipairs = ipairs; |
| 11 local type, next = type, next; | 11 local type, next = type, next; |
| 12 local tonumber = tonumber; | 12 local tonumber = tonumber; |
| 13 local tostring = tostring; | 13 local tostring = tostring; |
| 14 local t_concat = table.concat; | 14 local t_concat = table.concat; |
| 15 local st = require "util.stanza"; | 15 local st = require "prosody.util.stanza"; |
| 16 local jid_prep = require "util.jid".prep; | 16 local jid_prep = require "prosody.util.jid".prep; |
| 17 local datetime = require "util.datetime"; | 17 local datetime = require "prosody.util.datetime"; |
| 18 | 18 |
| 19 local _ENV = nil; | 19 local _ENV = nil; |
| 20 -- luacheck: std none | 20 -- luacheck: std none |
| 21 | 21 |
| 22 local xmlns_forms = 'jabber:x:data'; | 22 local xmlns_forms = 'jabber:x:data'; |
