Software /
code /
prosody
Comparison
plugins/mod_message.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 | 4965:c1685f0441b7 |
child | 5776:bd0ff8ae98a8 |
comparison
equal
deleted
inserted
replaced
5368:ab31dbb3a415 | 5370:7838acadb0fa |
---|---|
5 -- This project is MIT/X11 licensed. Please see the | 5 -- This project is MIT/X11 licensed. Please see the |
6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
7 -- | 7 -- |
8 | 8 |
9 | 9 |
10 local full_sessions = full_sessions; | 10 local full_sessions = prosody.full_sessions; |
11 local bare_sessions = bare_sessions; | 11 local bare_sessions = prosody.bare_sessions; |
12 | 12 |
13 local st = require "util.stanza"; | 13 local st = require "util.stanza"; |
14 local jid_bare = require "util.jid".bare; | 14 local jid_bare = require "util.jid".bare; |
15 local jid_split = require "util.jid".split; | 15 local jid_split = require "util.jid".split; |
16 local user_exists = require "core.usermanager".user_exists; | 16 local user_exists = require "core.usermanager".user_exists; |