aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-03-23 14:05:55 +0000
committerMatthew Wild <mwild1@gmail.com>2015-03-23 14:05:55 +0000
commitfed9502b790996cfa3847670ac0f60d59f8f6f76 (patch)
tree3deb82b8ac4f9898ab821678e36a3848f3e3a2db /plugins/mod_http.lua
parentaab2887e2c47bb2fc62a10e693c04b93c9d22415 (diff)
parentb68a3c35f1249f31350f11e3ee290c81e855b031 (diff)
downloadprosody-fed9502b790996cfa3847670ac0f60d59f8f6f76.tar.gz
prosody-fed9502b790996cfa3847670ac0f60d59f8f6f76.zip
Merge with Zash
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r--plugins/mod_http.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 86689aff..610ae0ae 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -102,6 +102,7 @@ function module.add_host(module)
end
if not app_handlers[event_name] then
app_handlers[event_name] = handler;
+ module:log("debug", "Adding app '%s' to handle %s", app_name, event_name);
module:hook_object_event(server, event_name, handler);
else
module:log("warn", "App %s added handler twice for '%s', ignoring", app_name, event_name);