Software /
code /
prosody
Comparison
plugins/mod_presence.lua @ 1470:af4b918e3432
mod_presence: Declare t_insert, fixes a potential traceback
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 03 Jul 2009 21:44:30 +0100 |
parent | 1463:4ad920999cfa |
child | 1472:9b13cea9fa3e |
comparison
equal
deleted
inserted
replaced
1469:9f2b6e2bc498 | 1470:af4b918e3432 |
---|---|
8 | 8 |
9 local log = module._log; | 9 local log = module._log; |
10 | 10 |
11 local require = require; | 11 local require = require; |
12 local pairs, ipairs = pairs, ipairs; | 12 local pairs, ipairs = pairs, ipairs; |
13 local t_concat = table.concat; | 13 local t_concat, t_insert = table.concat, table.insert; |
14 local s_find = string.find; | 14 local s_find = string.find; |
15 local tonumber = tonumber; | 15 local tonumber = tonumber; |
16 | 16 |
17 local st = require "util.stanza"; | 17 local st = require "util.stanza"; |
18 local jid_split = require "util.jid".split; | 18 local jid_split = require "util.jid".split; |