comparison mod_muc_log_http/muc_log_http/mod_muc_log_http.lua @ 1033:c6d4778bc0e8

mod_muc_log_http: rectify imported function name (it's fire_event).
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 01 Jun 2013 23:44:10 +0200
parents b69e5d63a4fe
children a53f9989a859
comparison
equal deleted inserted replaced
1032:b69e5d63a4fe 1033:c6d4778bc0e8
6 local strchar = string.char; 6 local strchar = string.char;
7 local strformat = string.format; 7 local strformat = string.format;
8 local split_jid = require "util.jid".split; 8 local split_jid = require "util.jid".split;
9 local config_get = require "core.configmanager".get; 9 local config_get = require "core.configmanager".get;
10 local urldecode = require "net.http".urldecode; 10 local urldecode = require "net.http".urldecode;
11 local http_event = require "net.http.server".fire_server_event; 11 local http_event = require "net.http.server".fire_event;
12 local data_load, data_getpath = datamanager.load, datamanager.getpath; 12 local data_load, data_getpath = datamanager.load, datamanager.getpath;
13 local datastore = "muc_log"; 13 local datastore = "muc_log";
14 local url_base = "muc_log"; 14 local url_base = "muc_log";
15 local config = nil; 15 local config = nil;
16 local table, tostring, tonumber = table, tostring, tonumber; 16 local table, tostring, tonumber = table, tostring, tonumber;