aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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;