From d4bfda421868e0276f561fa34cddbe48581d95fc Mon Sep 17 00:00:00 2001 From: ruri Date: Tue, 31 Mar 2020 00:49:08 +0200 Subject: [PATCH] Fixed previous commit again --- RuriLib/Models/Config.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RuriLib/Models/Config.cs b/RuriLib/Models/Config.cs index 7c60530..7a39afb 100644 --- a/RuriLib/Models/Config.cs +++ b/RuriLib/Models/Config.cs @@ -37,7 +37,7 @@ namespace RuriLib public bool DangerousScriptPresent { get { return Script.ToUpper().Contains("BEGIN SCRIPT"); } } /// Whether captcha solving blocks are present in the Config. - public bool CaptchasNeeded { get { return Regex.Match(Script, "(^|\n)(RE)?CAPTCHA").Success; } } + public bool CaptchasNeeded { get { return Regex.Match(Script, "(^|\n)(#[^ ]* )?(RE)?CAPTCHA").Success; } } /// Whether bypasscf blocks are present in the Config. public bool HasCFBypass { get { return Script.Contains("BYPASSCF"); } }