mod_message: Fix global access

This commit is contained in:
Waqas Hussain 2009-06-02 21:22:24 +05:00
parent e164f64e2a
commit 84bdea0764

View file

@ -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;