diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-03 21:44:30 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-03 21:44:30 +0100 |
commit | 6d2714d32f29dd35496e4b2b3c1d84ff1467ab2d (patch) | |
tree | 6b29b1326776670ad13941ba48150d039550c786 /plugins/mod_presence.lua | |
parent | 63d405dc25e6667dc983c6fe9635ca8e8fbc2768 (diff) | |
download | prosody-6d2714d32f29dd35496e4b2b3c1d84ff1467ab2d.tar.gz prosody-6d2714d32f29dd35496e4b2b3c1d84ff1467ab2d.zip |
mod_presence: Declare t_insert, fixes a potential traceback
Diffstat (limited to 'plugins/mod_presence.lua')
-rw-r--r-- | plugins/mod_presence.lua | 2 |
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;
|