aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-03 21:44:30 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-03 21:44:30 +0100
commit6d2714d32f29dd35496e4b2b3c1d84ff1467ab2d (patch)
tree6b29b1326776670ad13941ba48150d039550c786
parent63d405dc25e6667dc983c6fe9635ca8e8fbc2768 (diff)
downloadprosody-6d2714d32f29dd35496e4b2b3c1d84ff1467ab2d.tar.gz
prosody-6d2714d32f29dd35496e4b2b3c1d84ff1467ab2d.zip
mod_presence: Declare t_insert, fixes a potential traceback
-rw-r--r--plugins/mod_presence.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua
index f69c91d8..df31a4c5 100644
--- a/plugins/mod_presence.lua
+++ b/plugins/mod_presence.lua
@@ -10,7 +10,7 @@ local log = module._log;
local require = require;
local pairs, ipairs = pairs, ipairs;
-local t_concat = table.concat;
+local t_concat, t_insert = table.concat, table.insert;
local s_find = string.find;
local tonumber = tonumber;