Fixed previous commit again

This commit is contained in:
ruri
2020-03-31 00:49:08 +02:00
parent ee01da5005
commit d4bfda4218
+1 -1
View File
@@ -37,7 +37,7 @@ namespace RuriLib
public bool DangerousScriptPresent { get { return Script.ToUpper().Contains("BEGIN SCRIPT"); } }
/// <summary>Whether captcha solving blocks are present in the Config.</summary>
public bool CaptchasNeeded { get { return Regex.Match(Script, "(^|\n)(RE)?CAPTCHA").Success; } }
public bool CaptchasNeeded { get { return Regex.Match(Script, "(^|\n)(#[^ ]* )?(RE)?CAPTCHA").Success; } }
/// <summary>Whether bypasscf blocks are present in the Config.</summary>
public bool HasCFBypass { get { return Script.Contains("BYPASSCF"); } }