Software /
code /
prosody
Comparison
core/moduleapi.lua @ 6659:0a494394cd3e
moduleapi: Import util.stanza required for module:broadcast()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 06 May 2015 19:11:27 +0100 |
parent | 6656:58c111a39d27 |
child | 6666:42fdc8dddf04 |
child | 6779:6236668da30a |
comparison
equal
deleted
inserted
replaced
6656:58c111a39d27 | 6659:0a494394cd3e |
---|---|
14 local logger = require "util.logger"; | 14 local logger = require "util.logger"; |
15 local pluginloader = require "util.pluginloader"; | 15 local pluginloader = require "util.pluginloader"; |
16 local timer = require "util.timer"; | 16 local timer = require "util.timer"; |
17 local resolve_relative_path = require"util.paths".resolve_relative_path; | 17 local resolve_relative_path = require"util.paths".resolve_relative_path; |
18 local measure = require "core.statsmanager".measure; | 18 local measure = require "core.statsmanager".measure; |
19 local st = require "util.stanza"; | |
19 | 20 |
20 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; | 21 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; |
21 local error, setmetatable, type = error, setmetatable, type; | 22 local error, setmetatable, type = error, setmetatable, type; |
22 local ipairs, pairs, select, unpack = ipairs, pairs, select, unpack; | 23 local ipairs, pairs, select, unpack = ipairs, pairs, select, unpack; |
23 local tonumber, tostring = tonumber, tostring; | 24 local tonumber, tostring = tonumber, tostring; |