aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-02 21:22:24 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-02 21:22:24 +0500
commit84bdea076425eb0f109eb38c479ea439bc7ba6f0 (patch)
tree8f175a9912e6beadd20538409179cef53b4c81ef /plugins
parente164f64e2a0505ab83ec8fdd1c5c815f0bd84164 (diff)
downloadprosody-84bdea076425eb0f109eb38c479ea439bc7ba6f0.tar.gz
prosody-84bdea076425eb0f109eb38c479ea439bc7ba6f0.zip
mod_message: Fix global access
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_message.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua
index 621d5660..eb6982f4 100644
--- a/plugins/mod_message.lua
+++ b/plugins/mod_message.lua
@@ -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;