mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-07 20:45:53 +08:00
code tidy
This commit is contained in:
parent
3ea9c2547c
commit
9dc02fb850
@ -396,7 +396,6 @@ func (s *webSocketServer) onBotPushEvent(m *bytes.Buffer) {
|
|||||||
|
|
||||||
filter := findFilter(s.filter)
|
filter := findFilter(s.filter)
|
||||||
if filter != nil && !filter.Eval(gjson.Parse(utils.B2S(m.Bytes()))) {
|
if filter != nil && !filter.Eval(gjson.Parse(utils.B2S(m.Bytes()))) {
|
||||||
fmt.Printf("1213")
|
|
||||||
log.Debugf("上报Event %v 到 WS客户端 时被过滤.", utils.B2S(m.Bytes()))
|
log.Debugf("上报Event %v 到 WS客户端 时被过滤.", utils.B2S(m.Bytes()))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user