Diff

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
line wrap: on
line diff
--- 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;