Comparison

plugins/mod_message.lua @ 4759:c4a0c420d232

mod_message: Remove unused import of table.insert
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Apr 2012 03:34:58 +0100
parent 3972:a05cf5d9c7ab
child 4965:c1685f0441b7
comparison
equal deleted inserted replaced
4758:b8b050e76ee1 4759:c4a0c420d232
12 12
13 local st = require "util.stanza"; 13 local st = require "util.stanza";
14 local jid_bare = require "util.jid".bare; 14 local jid_bare = require "util.jid".bare;
15 local jid_split = require "util.jid".split; 15 local jid_split = require "util.jid".split;
16 local user_exists = require "core.usermanager".user_exists; 16 local user_exists = require "core.usermanager".user_exists;
17 local t_insert = table.insert;
18 17
19 local function process_to_bare(bare, origin, stanza) 18 local function process_to_bare(bare, origin, stanza)
20 local user = bare_sessions[bare]; 19 local user = bare_sessions[bare];
21 20
22 local t = stanza.attr.type; 21 local t = stanza.attr.type;