From 10df362054f5bb651c49a9dcb06f18bc3c5b16d1 Mon Sep 17 00:00:00 2001 From: ryoii Date: Thu, 28 May 2020 22:01:26 +0800 Subject: [PATCH] remove / for login command in graphical --- .../console/graphical/controller/MiraiGraphicalUIController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-console-graphical/src/main/kotlin/net/mamoe/mirai/console/graphical/controller/MiraiGraphicalUIController.kt b/mirai-console-graphical/src/main/kotlin/net/mamoe/mirai/console/graphical/controller/MiraiGraphicalUIController.kt index 7b77dcf65..ec7538def 100644 --- a/mirai-console-graphical/src/main/kotlin/net/mamoe/mirai/console/graphical/controller/MiraiGraphicalUIController.kt +++ b/mirai-console-graphical/src/main/kotlin/net/mamoe/mirai/console/graphical/controller/MiraiGraphicalUIController.kt @@ -51,7 +51,7 @@ class MiraiGraphicalUIController : Controller(), MiraiConsoleUI { } fun login(qq: String, psd: String) { - CommandManager.runCommand(ConsoleCommandSender, "/login $qq $psd") + CommandManager.runCommand(ConsoleCommandSender, "login $qq $psd") } fun logout(qq: Long) {