mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed bug with detection of presence of captcha blocks in a config
This commit is contained in:
@@ -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 Script.Contains("CAPTCHA"); } }
|
||||
public bool CaptchasNeeded { get { return Regex.Match(Script, "^(RE)?CAPTCHA").Success; } }
|
||||
|
||||
/// <summary>Whether bypasscf blocks are present in the Config.</summary>
|
||||
public bool HasCFBypass { get { return Script.Contains("BYPASSCF"); } }
|
||||
|
||||
Reference in New Issue
Block a user