mod_http: Rename loop variable to avoid name clash [luacheck]

This commit is contained in:
Kim Alvefur 2018-07-06 00:14:47 +02:00
parent c27c3940c7
commit d0f783842e

View file

@ -137,8 +137,8 @@ function module.add_host(module)
local function http_app_removed(event)
local app_handlers = apps[event.item.name];
apps[event.item.name] = nil;
for event, handler in pairs(app_handlers) do
module:unhook_object_event(server, event, handler);
for event_name, handler in pairs(app_handlers) do
module:unhook_object_event(server, event_name, handler);
end
end