Software /
code /
prosody
Changeset
8971:e59207c909c0
mod_http: Rename loop variable to avoid name clash [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 06 Jul 2018 00:14:47 +0200 |
parents | 8970:75c3b1bd9d7b |
children | 8972:0b254439d451 |
files | plugins/mod_http.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http.lua Fri Jul 06 00:13:45 2018 +0200 +++ b/plugins/mod_http.lua Fri Jul 06 00:14:47 2018 +0200 @@ -137,8 +137,8 @@ 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