Software /
code /
prosody
Diff
plugins/mod_websocket.lua @ 10111:0f335815244f
plugins: Remove tostring call from logging
Taken care of by loggingmanager now
Mass-rewrite using lua pattern like `tostring%b()`
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Jul 2019 02:29:36 +0200 |
parent | 10097:1f45d316b222 |
child | 10325:f2bbad04cf64 |
line wrap: on
line diff
--- a/plugins/mod_websocket.lua Tue Jul 30 02:24:06 2019 +0200 +++ b/plugins/mod_websocket.lua Tue Jul 30 02:29:36 2019 +0200 @@ -80,7 +80,7 @@ stream_error = reason; end end - log("debug", "Disconnecting client, <stream:error> is: %s", tostring(stream_error)); + log("debug", "Disconnecting client, <stream:error> is: %s", stream_error); session.send(stream_error); end