From 061f4011d2f3a79f1b16dfbaec98d96abe3bc644 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Mon, 3 Apr 2023 11:20:19 +0800 Subject: [PATCH] =?UTF-8?q?GM=20=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/gm/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gm/module.go b/modules/gm/module.go index d10a9351e..28b301e72 100644 --- a/modules/gm/module.go +++ b/modules/gm/module.go @@ -61,7 +61,7 @@ func (this *GM) OnInstallComp() { //bingo:Iamyoudad func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (code pb.ErrorCode) { - code = pb.ErrorCode_ReqParameterError + cmd = strings.Replace(cmd, " ", "", -1) // 去空格 keys := strings.Split(cmd, ":") if len(keys) == 2 {