From 9b4668175182e6d3596ab7c16127616c5304791f Mon Sep 17 00:00:00 2001 From: harveyshao Date: Sat, 3 Dec 2022 14:26:29 +0800 Subject: [PATCH] opt some --- core/chat/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chat/cmd.go b/core/chat/cmd.go index c89b7484..7f4e6cad 100644 --- a/core/chat/cmd.go +++ b/core/chat/cmd.go @@ -43,7 +43,7 @@ const CMD = "cmd" func init() { Index.MergeCommands(ice.Commands{ CMD: {Name: "cmd path auto upload up home", Help: "命令", Actions: ice.MergeActions( - mdb.HashAction(mdb.SHORT, mdb.TYPE, nfs.PATH, nfs.PWD), ctx.CmdAction(), web.ApiAction(), aaa.WhiteAction(), + mdb.HashAction(mdb.SHORT, mdb.TYPE, nfs.PATH, nfs.PWD), ctx.CmdAction(), web.ApiAction(), aaa.WhiteAction(ice.RUN), ), Hand: func(m *ice.Message, arg ...string) { if _cmd_file(m, arg...) { return