aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-25 15:02:27 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-25 15:02:27 +0100
commitb6ef379c9ae161aca2184c7179cec737988227ca (patch)
tree8822dc21002db7a99ccf80de6e341a3697bd95cf /net/http
parent8e4f5391a268fbd3d80d2de2f57a111aa2937bf6 (diff)
downloadprosody-b6ef379c9ae161aca2184c7179cec737988227ca.tar.gz
prosody-b6ef379c9ae161aca2184c7179cec737988227ca.zip
net.http.server: Small fix to comment
Diffstat (limited to 'net/http')
-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 00571bce..dc7c5a06 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -34,7 +34,7 @@ setmetatable(events._handlers, {
__index = function (handlers, curr_event)
if is_wildcard_event(curr_event) then return; end -- Wildcard events cannot be fired
-- Find all handlers that could match this event, sort them
- -- and then put the array into handlers[event]
+ -- and then put the array into handlers[curr_event] (and return it)
local matching_handlers_set = {};
local handlers_array = {};
for event, handlers_set in pairs(event_map) do