diff --git a/plugin/thesaurus/chat.go b/plugin/thesaurus/chat.go index fbfd0c2f..dca4bdc4 100644 --- a/plugin/thesaurus/chat.go +++ b/plugin/thesaurus/chat.go @@ -171,7 +171,7 @@ const ( func match(l []string, seg *jieba.Segmenter, getmsg func(*zero.Ctx) string) zero.Rule { return func(ctx *zero.Ctx) bool { - if zero.KeywordRule(l...)(ctx) { + if zero.FullMatchRule(l...)(ctx) { return true } return ctxext.JiebaFullMatch(seg, getmsg, l...)(ctx)