Software /
code /
prosody
Changeset
8596:71da54c7f797
mod_http: Pass util.events object to API, fixes traceback
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 16 Mar 2018 08:47:51 +0100 |
parents | 8595:d3bbff01df9d |
children | 8597:6e5fbeaca0f4 |
files | plugins/mod_http.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http.lua Thu Mar 15 17:52:11 2018 +0100 +++ b/plugins/mod_http.lua Fri Mar 16 08:47:51 2018 +0100 @@ -166,7 +166,7 @@ return ip; end -module:wrap_object_event(server, false, function (handlers, event_name, event_data) +module:wrap_object_event(server._events, false, function (handlers, event_name, event_data) local request = event_data.request; if request then -- Not included in eg http-error events