From 0558bb4bb6fb21dbeb1e1e209286b88f38bee2c8 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 25 Apr 2012 15:02:27 +0100 Subject: net.http.server: Small fix to comment --- net/http/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3