From b3d8efc66bc415419cb756fccb88521aa4e22ca1 Mon Sep 17 00:00:00 2001 From: doomsdayrs Date: Wed, 7 Jul 2021 15:48:45 -0400 Subject: [PATCH] log fix --- src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt b/src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt index ff2e3ee..de80284 100644 --- a/src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt +++ b/src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt @@ -239,8 +239,8 @@ class ShosetsuLuaLib : TwoArgFunction() { fun RequestBody(data: String, type: MediaType): RequestBody = data.toRequestBody(type) - fun Log(name: String, arguments: LuaValue) { - ShosetsuSharedLib.logger(name, arguments.tojstring()) + fun Log(name: String, arguments: String) { + ShosetsuSharedLib.logger(name, arguments) } }