Commit 31f24525 authored by Mrs4s's avatar Mrs4s

fix filter panic.

parent b0d5589d
...@@ -139,7 +139,6 @@ func (s *webServer) Dologin() { ...@@ -139,7 +139,6 @@ func (s *webServer) Dologin() {
if conf.PostMessageFormat != "string" && conf.PostMessageFormat != "array" { if conf.PostMessageFormat != "string" && conf.PostMessageFormat != "array" {
log.Warnf("post_message_format 配置错误, 将自动使用 string") log.Warnf("post_message_format 配置错误, 将自动使用 string")
coolq.SetMessageFormat("string") coolq.SetMessageFormat("string")
return
} else { } else {
coolq.SetMessageFormat(conf.PostMessageFormat) coolq.SetMessageFormat(conf.PostMessageFormat)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment