Software /
code /
prosody
Changeset
6593:828f9f3bdbcf
Merge with Zash
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 23 Mar 2015 14:05:55 +0000 |
parents | 6592:141afe8a167b (current diff) 6590:7726b627c3ea (diff) |
children | 6594:fa6eb6fb4a80 |
files | |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/http/server.lua Mon Mar 23 14:27:30 2015 +0100 +++ b/net/http/server.lua Mon Mar 23 14:05:55 2015 +0000 @@ -217,7 +217,7 @@ local event = request.method.." "..host..request.path:match("[^?]*"); local payload = { request = request, response = response }; - --log("debug", "Firing event: %s", event); + log("debug", "Firing event: %s", event); local result = events.fire_event(event, payload); if result ~= nil then if result ~= true then
--- a/plugins/mod_http.lua Mon Mar 23 14:27:30 2015 +0100 +++ b/plugins/mod_http.lua Mon Mar 23 14:05:55 2015 +0000 @@ -102,6 +102,7 @@ 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);