Software /
code /
prosody-modules
Diff
mod_websocket/mod_websocket.lua @ 1272:717a08403b26
mod_websocket: Fix typo "Cosed" -> "Closed"
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Sat, 11 Jan 2014 00:20:59 +0100 |
parent | 1193:bbe278a56b0a |
child | 1324:853a382c9bd6 |
line wrap: on
line diff
--- a/mod_websocket/mod_websocket.lua Tue Jan 07 09:02:39 2014 +0100 +++ b/mod_websocket/mod_websocket.lua Sat Jan 11 00:20:59 2014 +0100 @@ -177,7 +177,7 @@ websocket_close(1002, "Closed with invalid status code"); return false; elseif ((status_code > 1003 and status_code < 1007) or status_code > 1011) and status_code < 3000 then - websocket_close(1002, "Cosed with reserved status code"); + websocket_close(1002, "Closed with reserved status code"); return false; end end