Diff

net/http/server.lua @ 4735:474166c08319

net.http.server: Improve comment
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Apr 2012 22:37:56 +0100
parent 4727:5ebf4096a2e1
child 4736:3514338c59c3
line wrap: on
line diff
--- a/net/http/server.lua	Fri Apr 27 22:37:24 2012 +0100
+++ b/net/http/server.lua	Fri Apr 27 22:37:56 2012 +0100
@@ -64,7 +64,7 @@
 	__newindex = function (handlers, curr_event, handlers_array)
 		if handlers_array == nil
 		and is_wildcard_event(curr_event) then
-			-- Invalidate all matching
+			-- Invalidate the indexes of all matching events
 			for event in pairs(handlers) do
 				if is_wildcard_match(curr_event, event) then
 					handlers[event] = nil;