diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-06-02 21:22:24 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-06-02 21:22:24 +0500 |
commit | 84bdea076425eb0f109eb38c479ea439bc7ba6f0 (patch) | |
tree | 8f175a9912e6beadd20538409179cef53b4c81ef | |
parent | e164f64e2a0505ab83ec8fdd1c5c815f0bd84164 (diff) | |
download | prosody-84bdea076425eb0f109eb38c479ea439bc7ba6f0.tar.gz prosody-84bdea076425eb0f109eb38c479ea439bc7ba6f0.zip |
mod_message: Fix global access
-rw-r--r-- | plugins/mod_message.lua | 2 |
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; |