diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-27 22:37:56 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-27 22:37:56 +0100 |
commit | 987c79e4d0cbf7c35a6201603813a3a0ff491db2 (patch) | |
tree | 65696691603c8267593420d82a5142af13ec6222 | |
parent | 1835139203be72741b50efaba1d7c1071542972a (diff) | |
download | prosody-987c79e4d0cbf7c35a6201603813a3a0ff491db2.tar.gz prosody-987c79e4d0cbf7c35a6201603813a3a0ff491db2.zip |
net.http.server: Improve comment
-rw-r--r-- | net/http/server.lua | 2 |
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; |