From 29cb29b228164730b67be2191bd2692937013ce7 Mon Sep 17 00:00:00 2001 From: thsrite Date: Mon, 8 Apr 2024 11:38:50 +0800 Subject: [PATCH] fix bug --- plugins/wechatforward/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wechatforward/__init__.py b/plugins/wechatforward/__init__.py index 5fc9e13..946f91c 100644 --- a/plugins/wechatforward/__init__.py +++ b/plugins/wechatforward/__init__.py @@ -287,7 +287,7 @@ class WeChatForward(_PluginBase): specify = specify_conf.split(" > ") if len(specify) != 3: continue - if re.search(specify[0], title) and re.search(specify[0], text): + if re.search(specify[0], title) and re.search(specify[1], text): userid = specify[2] logger.info(f"消息 {title} {text} 指定用户 {userid}") break