Changeset

4689:e8c357259993

net.http.server: Small fix to comment
author Matthew Wild <mwild1@gmail.com>
date Wed, 25 Apr 2012 15:02:27 +0100
parents 4688:8d275c86a04f
children 4690:55f690fdc915
files net/http/server.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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