From 556055cfcb415ce80d02779b3c48150c6ee3e78a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sat, 22 Jul 2023 14:51:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request_user_agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/http_request_user_agent.go b/internal/nodes/http_request_user_agent.go index 87c2357..9890f84 100644 --- a/internal/nodes/http_request_user_agent.go +++ b/internal/nodes/http_request_user_agent.go @@ -7,7 +7,7 @@ import ( ) func (this *HTTPRequest) doCheckUserAgent() (shouldStop bool) { - if this.web.UserAgent == nil { + if this.web.UserAgent == nil || !this.web.UserAgent.IsOn { return }