Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 5013:ab693eea0869
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 26 Jul 2012 04:33:17 +0200 |
parent | 4997:61083e2b1392 |
child | 5120:bcabea740c00 |
comparison
equal
deleted
inserted
replaced
5012:d59c842fe38e | 5013:ab693eea0869 |
---|---|
8 | 8 |
9 module:set_global(); | 9 module:set_global(); |
10 | 10 |
11 local prosody = prosody; | 11 local prosody = prosody; |
12 local hosts = prosody.hosts; | 12 local hosts = prosody.hosts; |
13 local core_process_stanza = core_process_stanza; | 13 local core_process_stanza = prosody.core_process_stanza; |
14 | 14 |
15 local tostring, type = tostring, type; | 15 local tostring, type = tostring, type; |
16 local t_insert = table.insert; | 16 local t_insert = table.insert; |
17 local xpcall, traceback = xpcall, debug.traceback; | 17 local xpcall, traceback = xpcall, debug.traceback; |
18 | 18 |