1
0
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:
Mrs4s 2020-10-05 16:42:13 +08:00
parent b0d5589dcd
commit 31f24525f0

View File

@ -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)
}