Changeset

984:c4995b56c358

mod_incidents_handling: import setmetatable.
author Marco Cirillo <maranda@lightwitch.org>
date Thu, 18 Apr 2013 14:51:50 +0200
parents 983:ac9bf3fcbcfe
children 985:93ef813dfd06
files mod_incidents_handling/incidents_handling/mod_incidents_handling.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"