aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/server.lua
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
commit14dcbf13d5fc2dc4ded9d51176284347bfbe8374 (patch)
tree65696691603c8267593420d82a5142af13ec6222 /net/http/server.lua
parent9857260297140238992608256dcd0104a7170a17 (diff)
downloadprosody-14dcbf13d5fc2dc4ded9d51176284347bfbe8374.tar.gz
prosody-14dcbf13d5fc2dc4ded9d51176284347bfbe8374.zip
net.http.server: Improve comment
Diffstat (limited to 'net/http/server.lua')
-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;