Fix session.rcpt.script IfBlock variable name

This commit is contained in:
mdecimus
2024-05-31 14:38:03 +02:00
parent 4e7087d335
commit 649ccfdba0
4 changed files with 11 additions and 10 deletions

View File

@@ -140,10 +140,12 @@ impl<T: SessionStream> Session<T> {
script: Arc<Sieve>,
params: ScriptParameters<'_>,
) -> ScriptResult {
let core = self.core.clone();
let span = self.span.clone();
let params = params.with_envelope(&self.core.core, self).await;
core.run_script(script, params, span).await
self.core
.run_script(
script,
params.with_envelope(&self.core.core, self).await,
self.span.clone(),
)
.await
}
}