fix webhook插件开关

This commit is contained in:
yubanmeiqin9048
2023-08-16 11:15:08 +08:00
committed by GitHub
parent 98d1ff3204
commit 2baa7c20e7

View File

@ -133,7 +133,7 @@ class WebHook(_PluginBase):
"""
向第三方Webhook发送请求
"""
if not self._webhook_url:
if not self._enabled or not self._webhook_url:
return
def __to_dict(_event):