Software /
code /
prosody
Diff
net/http/server.lua @ 4689:e8c357259993
net.http.server: Small fix to comment
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 25 Apr 2012 15:02:27 +0100 |
parent | 4688:8d275c86a04f |
child | 4691:a164fc7057ae |
line wrap: on
line diff
--- a/net/http/server.lua Wed Apr 25 14:58:10 2012 +0100 +++ b/net/http/server.lua Wed Apr 25 15:02:27 2012 +0100 @@ -34,7 +34,7 @@ __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