comparison 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
parents 72a5778579c5
children 1d95b69c2c81
comparison
equal deleted inserted replaced
363:72a5778579c5 364:1edd3f7c749c
7 local jid_prep = require "util.jid".prep; 7 local jid_prep = require "util.jid".prep;
8 local jid_split = require "util.jid".split; 8 local jid_split = require "util.jid".split;
9 local usermanager = require "core.usermanager"; 9 local usermanager = require "core.usermanager";
10 local b64_decode = require "util.encodings".base64.decode; 10 local b64_decode = require "util.encodings".base64.decode;
11 local json_decode = require "util.json".decode; 11 local json_decode = require "util.json".decode;
12 local os_time = os.time;
12 13
13 module.host = "*" -- HTTP/BOSH Servlets need to be global. 14 module.host = "*" -- HTTP/BOSH Servlets need to be global.
14 15
15 -- Pick up configuration. 16 -- Pick up configuration.
16 17