From e076a59eece4b5e89db19d3930733ad6794a674e Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 16 Jan 2024 18:27:34 +0800 Subject: [PATCH] add some --- base/ctx/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/ctx/command.go b/base/ctx/command.go index 4005b1fe..0c3313d1 100644 --- a/base/ctx/command.go +++ b/base/ctx/command.go @@ -30,7 +30,7 @@ func _command_list(m *ice.Message, name string) *ice.Message { m.Push("_fileline", "") } - m.Push("_role", kit.Select("", ice.OK, kit.IsIn(ShortCmd(kit.Keys(s.Prefix(), key)), "portal", aaa.OFFER) && aaa.Right(m.Spawn(), name))) + m.Push("_role", kit.Select("", ice.OK, aaa.Right(m.Spawn(), name))) m.Push("_help", GetCmdHelp(m, name)) }) return m