mod_presence: Declare t_insert, fixes a potential traceback

Fri, 03 Jul 2009 21:44:30 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 03 Jul 2009 21:44:30 +0100
changeset 1470
af4b918e3432
parent 1469
9f2b6e2bc498
child 1471
8b3753b080fc

mod_presence: Declare t_insert, fixes a potential traceback

plugins/mod_presence.lua file | annotate | diff | comparison | revisions
--- a/plugins/mod_presence.lua	Fri Jul 03 21:37:09 2009 +0100
+++ b/plugins/mod_presence.lua	Fri Jul 03 21:44:30 2009 +0100
@@ -10,7 +10,7 @@
 
 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;
 

mercurial