comparison 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
comparison
equal deleted inserted replaced
983:ac9bf3fcbcfe 984:c4995b56c358
8 local datamanager = require "util.datamanager" 8 local datamanager = require "util.datamanager"
9 local dataforms_new = require "util.dataforms".new 9 local dataforms_new = require "util.dataforms".new
10 local st = require "util.stanza" 10 local st = require "util.stanza"
11 local id_gen = require "util.uuid".generate 11 local id_gen = require "util.uuid".generate
12 12
13 local pairs, os_time = pairs, os.time 13 local pairs, os_time, setmetatable = pairs, os.time, setmetatable
14 14
15 local xmlns_inc = "urn:xmpp:incident:2" 15 local xmlns_inc = "urn:xmpp:incident:2"
16 local xmlns_iodef = "urn:ietf:params:xml:ns:iodef-1.0" 16 local xmlns_iodef = "urn:ietf:params:xml:ns:iodef-1.0"
17 17
18 local my_host = module:get_host() 18 local my_host = module:get_host()