Software /
code /
prosody
Comparison
plugins/mod_component.lua @ 5370:7838acadb0fa
mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 01:27:16 +0100 |
parent | 5316:310c7e5bb906 |
child | 5724:a49f32e3d73b |
comparison
equal
deleted
inserted
replaced
5368:ab31dbb3a415 | 5370:7838acadb0fa |
---|---|
17 local jid_split = require "util.jid".split; | 17 local jid_split = require "util.jid".split; |
18 local new_xmpp_stream = require "util.xmppstream".new; | 18 local new_xmpp_stream = require "util.xmppstream".new; |
19 local uuid_gen = require "util.uuid".generate; | 19 local uuid_gen = require "util.uuid".generate; |
20 | 20 |
21 local core_process_stanza = prosody.core_process_stanza; | 21 local core_process_stanza = prosody.core_process_stanza; |
22 | 22 local hosts = prosody.hosts; |
23 | 23 |
24 local log = module._log; | 24 local log = module._log; |
25 | 25 |
26 local sessions = module:shared("sessions"); | 26 local sessions = module:shared("sessions"); |
27 | 27 |