net.http.server: Improve comment
authorMatthew Wild <mwild1@gmail.com>
Fri, 27 Apr 2012 22:37:56 +0100
changeset 4735 474166c08319
parent 4734 4d43dbd6de17
child 4736 3514338c59c3
net.http.server: Improve comment
net/http/server.lua
--- 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;