diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 82eb26fb6..94d74d969 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -33,6 +33,7 @@ body: label: Version description: What version of our software are you running? options: + - v0.4.x - v0.3.x - v0.2.x or lower validations: diff --git a/crates/smtp/src/scripts/plugins/bayes.rs b/crates/smtp/src/scripts/plugins/bayes.rs index 5e923b988..f3115edf8 100644 --- a/crates/smtp/src/scripts/plugins/bayes.rs +++ b/crates/smtp/src/scripts/plugins/bayes.rs @@ -260,7 +260,7 @@ pub fn exec_is_balanced(ctx: PluginContext<'_>) -> Variable { ); return Variable::default(); }; - let learn_spam = ctx.arguments[2].to_bool(); + let learn_spam = ctx.arguments[1].to_bool(); // Obtain training counts let handle = ctx.handle;