Software /
code /
prosody
Diff
plugins/mod_websocket.lua @ 6894:f7203c7cb7ff
mod_websocket: Silence luacheck warnings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Oct 2015 15:30:25 +0200 |
parent | 6893:861790282dda |
child | 7294:5f4d0753c818 |
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;