aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-03-14 22:39:03 +0000
committerMatthew Wild <mwild1@gmail.com>2015-03-14 22:39:03 +0000
commit5c1d94de1b67353da7e2c348379c8a8509a9e66a (patch)
tree555af1817a1730e903c9511fd9303f2f5eab09ac /net
parentdee60b3659ffc63332d0ee011a687aba24b71f26 (diff)
downloadprosody-5c1d94de1b67353da7e2c348379c8a8509a9e66a.tar.gz
prosody-5c1d94de1b67353da7e2c348379c8a8509a9e66a.zip
net.http.server: Log event name when firing a request event
Diffstat (limited to 'net')
-rw-r--r--net/http/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index 7937f87c..f091595c 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -217,7 +217,7 @@ function handle_request(conn, request, finish_cb)
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