Software /
code /
prosody
Comparison
plugins/mod_component.lua @ 12977:74b9e05af71e
plugins: Prefix module imports with prosody namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Mar 2023 13:15:28 +0100 |
parent | 12686:5f182bccf33f |
child | 13202:173038306750 |
comparison
equal
deleted
inserted
replaced
12976:a187600ec7d6 | 12977:74b9e05af71e |
---|---|
8 | 8 |
9 module:set_global(); | 9 module:set_global(); |
10 | 10 |
11 local t_concat = table.concat; | 11 local t_concat = table.concat; |
12 local tostring, type = tostring, type; | 12 local tostring, type = tostring, type; |
13 local xpcall = require "util.xpcall".xpcall; | 13 local xpcall = require "prosody.util.xpcall".xpcall; |
14 local traceback = debug.traceback; | 14 local traceback = debug.traceback; |
15 | 15 |
16 local logger = require "util.logger"; | 16 local logger = require "prosody.util.logger"; |
17 local sha1 = require "util.hashes".sha1; | 17 local sha1 = require "prosody.util.hashes".sha1; |
18 local st = require "util.stanza"; | 18 local st = require "prosody.util.stanza"; |
19 | 19 |
20 local jid_host = require "util.jid".host; | 20 local jid_host = require "prosody.util.jid".host; |
21 local new_xmpp_stream = require "util.xmppstream".new; | 21 local new_xmpp_stream = require "prosody.util.xmppstream".new; |
22 local uuid_gen = require "util.uuid".generate; | 22 local uuid_gen = require "prosody.util.uuid".generate; |
23 | 23 |
24 local core_process_stanza = prosody.core_process_stanza; | 24 local core_process_stanza = prosody.core_process_stanza; |
25 local hosts = prosody.hosts; | 25 local hosts = prosody.hosts; |
26 | 26 |
27 local log = module._log; | 27 local log = module._log; |