mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_message: Fix global access
This commit is contained in:
parent
e164f64e2a
commit
84bdea0764
1 changed files with 2 additions and 0 deletions
|
@ -3,8 +3,10 @@ local full_sessions = full_sessions;
|
|||
local bare_sessions = bare_sessions;
|
||||
|
||||
local jid_bare = require "util.jid".bare;
|
||||
local jid_split = require "util.jid".split;
|
||||
local user_exists = require "core.usermanager".user_exists;
|
||||
local offlinemanager = require "core.offlinemanager";
|
||||
local t_insert = table.insert;
|
||||
|
||||
local function select_top_resources(user)
|
||||
local priority = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue