Skip to content

Commit

Permalink
Switch to has_required.
Browse files Browse the repository at this point in the history
  • Loading branch information
dburkart committed Dec 6, 2024
1 parent 30f6560 commit 088e088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AST/Validation/Test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ ValidationResult Test::_validateEnvironmentTest(const ASTNode *node) {

// RFC 6785
// TODO: Fix this cast
if (((ASTVerificationVisitor *)visitor())->requires_capability("imapsieve") && (
if (((ASTVerificationVisitor *)visitor())->has_required("imapsieve") && (
name == "imap.user" ||
name == "imap.email" ||
name == "imap.cause" ||
Expand Down

0 comments on commit 088e088

Please sign in to comment.