# HG changeset patch # User Waqas Hussain # Date 1287198588 -18000 # Node ID 8cd2fab3135ac43f78a811ab4e2cf68845959d31 # Parent 07c17b60229ac419d20a89402630f244260fb267 mod_muc_log_http: Updated to use the new events API. diff -r 07c17b60229a -r 8cd2fab3135a mod_muc_log_http/muc_log_http/mod_muc_log_http.lua --- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Sat Oct 16 08:07:52 2010 +0500 +++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Sat Oct 16 08:09:48 2010 +0500 @@ -827,7 +827,7 @@ module:log("debug", "unloaded mod_muc_log_http"); end -module:add_event_hook("component-activated", function(component, config) +module:hook("component-activated", function(component, config) if config.core and config.core.modules_enabled then for _,mod in ipairs(config.core.modules_enabled) do if(mod == "muc_log") then