Software /
code /
prosody
Changeset
6894:f7203c7cb7ff
mod_websocket: Silence luacheck warnings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Oct 2015 15:30:25 +0200 |
parents | 6893:861790282dda |
children | 6895:f04fadabd5d9 |
files | plugins/mod_websocket.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_websocket.lua Tue Oct 06 15:27:39 2015 +0200 +++ b/plugins/mod_websocket.lua Tue Oct 06 15:30:25 2015 +0200 @@ -4,6 +4,7 @@ -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- +-- luacheck: ignore 431/log module:set_global(); @@ -130,7 +131,7 @@ return data; end -function handle_request(event, path) +function handle_request(event) local request, response = event.request, event.response; local conn = response.conn;