mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
fix filter panic.
This commit is contained in:
parent
b0d5589dcd
commit
31f24525f0
@ -139,7 +139,6 @@ func (s *webServer) Dologin() {
|
||||
if conf.PostMessageFormat != "string" && conf.PostMessageFormat != "array" {
|
||||
log.Warnf("post_message_format 配置错误, 将自动使用 string")
|
||||
coolq.SetMessageFormat("string")
|
||||
return
|
||||
} else {
|
||||
coolq.SetMessageFormat(conf.PostMessageFormat)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user