Changeset

1289:d0c38cac1687

mod_message: Fix global access
author Waqas Hussain <waqas20@gmail.com>
date Tue, 02 Jun 2009 21:22:24 +0500
parents 1288:d2dc0954ebfd
children 1290:c253905a8a55 1292:b18c1ad7fcb6
files plugins/mod_message.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_message.lua	Tue Jun 02 20:18:02 2009 +0500
+++ b/plugins/mod_message.lua	Tue Jun 02 21:22:24 2009 +0500
@@ -3,8 +3,10 @@
 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;