diff --git a/core/chat/header.go b/core/chat/header.go index 326f4009..3706f415 100644 --- a/core/chat/header.go +++ b/core/chat/header.go @@ -80,8 +80,8 @@ func init() { return // 免登录 case "/header": switch kit.Select("", arg, 1) { - case AGENT, CHECK, aaa.LOGIN: - return // 非登录态 + case "": + return // 免登录 } } m.Warn(m.Option(ice.MSG_USERNAME) == "", ice.ErrNotLogin, arg)