Software /
code /
prosody-modules
Diff
mod_register_json/mod_register_json.lua @ 364:1edd3f7c749c
mod_register_json: fixed missing declared variable.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Tue, 12 Apr 2011 22:51:39 +0000 |
parent | 363:72a5778579c5 |
child | 365:1d95b69c2c81 |
line wrap: on
line diff
--- a/mod_register_json/mod_register_json.lua Tue Apr 12 22:40:26 2011 +0000 +++ b/mod_register_json/mod_register_json.lua Tue Apr 12 22:51:39 2011 +0000 @@ -9,6 +9,7 @@ local usermanager = require "core.usermanager"; local b64_decode = require "util.encodings".base64.decode; local json_decode = require "util.json".decode; +local os_time = os.time; module.host = "*" -- HTTP/BOSH Servlets need to be global.