plugins: Remove tostring call from logging

Taken care of by loggingmanager now

Mass-rewrite using lua pattern like `tostring%b()`
This commit is contained in:
Kim Alvefur 2019-07-30 02:29:36 +02:00
parent 73fab2dc0d
commit 2b8caf8dac
14 changed files with 37 additions and 39 deletions

View file

@ -80,7 +80,7 @@ local function session_close(session, reason)
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