diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-25 15:02:27 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-25 15:02:27 +0100 |
commit | 0558bb4bb6fb21dbeb1e1e209286b88f38bee2c8 (patch) | |
tree | 8822dc21002db7a99ccf80de6e341a3697bd95cf /net/http | |
parent | e6f8d445c0ee25e310dd64258fe43a472c4308bd (diff) | |
download | prosody-0558bb4bb6fb21dbeb1e1e209286b88f38bee2c8.tar.gz prosody-0558bb4bb6fb21dbeb1e1e209286b88f38bee2c8.zip |
net.http.server: Small fix to comment
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/server.lua | 2 |
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 |