Software /
code /
prosody
Changeset
4735:474166c08319
net.http.server: Improve comment
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 27 Apr 2012 22:37:56 +0100 |
parents | 4734:4d43dbd6de17 |
children | 4736:3514338c59c3 |
files | net/http/server.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;