Comparison

plugins/mod_presence.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 4993:5243b74a4cbb
child 5060:b0e36777f715
comparison
equal deleted inserted replaced
5012:d59c842fe38e 5013:ab693eea0869
12 local pairs, ipairs = pairs, ipairs; 12 local pairs, ipairs = pairs, ipairs;
13 local t_concat, t_insert = table.concat, table.insert; 13 local t_concat, t_insert = table.concat, table.insert;
14 local s_find = string.find; 14 local s_find = string.find;
15 local tonumber = tonumber; 15 local tonumber = tonumber;
16 16
17 local core_post_stanza = prosody.core_post_stanza;
17 local st = require "util.stanza"; 18 local st = require "util.stanza";
18 local jid_split = require "util.jid".split; 19 local jid_split = require "util.jid".split;
19 local jid_bare = require "util.jid".bare; 20 local jid_bare = require "util.jid".bare;
20 local hosts = hosts; 21 local hosts = hosts;
21 local NULL = {}; 22 local NULL = {};