aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-27 22:37:56 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-27 22:37:56 +0100
commit987c79e4d0cbf7c35a6201603813a3a0ff491db2 (patch)
tree65696691603c8267593420d82a5142af13ec6222
parent1835139203be72741b50efaba1d7c1071542972a (diff)
downloadprosody-987c79e4d0cbf7c35a6201603813a3a0ff491db2.tar.gz
prosody-987c79e4d0cbf7c35a6201603813a3a0ff491db2.zip
net.http.server: Improve comment
-rw-r--r--net/http/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index 86d729f0..978a5a82 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -64,7 +64,7 @@ setmetatable(events._handlers, {
__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;