diff mod_incidents_handling/incidents_handling/mod_incidents_handling.lua @ 984:c4995b56c358

mod_incidents_handling: import setmetatable.
author Marco Cirillo <maranda@lightwitch.org>
date Thu, 18 Apr 2013 14:51:50 +0200
parents f183de41b7c6
children 7dbde05b48a9
line wrap: on
line diff
--- a/mod_incidents_handling/incidents_handling/mod_incidents_handling.lua	Fri Apr 12 00:33:41 2013 +0100
+++ b/mod_incidents_handling/incidents_handling/mod_incidents_handling.lua	Thu Apr 18 14:51:50 2013 +0200
@@ -10,7 +10,7 @@
 local st = require "util.stanza"
 local id_gen = require "util.uuid".generate
 
-local pairs, os_time = pairs, os.time
+local pairs, os_time, setmetatable = pairs, os.time, setmetatable
 
 local xmlns_inc = "urn:xmpp:incident:2"
 local xmlns_iodef = "urn:ietf:params:xml:ns:iodef-1.0"