From 2eed0cc2a319bfab52b88abc39f2a4f237e4d0e0 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 27 May 2025 18:40:53 +0200 Subject: clippy --- src/modules/ratelimit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/ratelimit.rs') diff --git a/src/modules/ratelimit.rs b/src/modules/ratelimit.rs index 9e5d583..ce5ac68 100644 --- a/src/modules/ratelimit.rs +++ b/src/modules/ratelimit.rs @@ -142,7 +142,7 @@ impl Node for Ratelimit { LimitMode::Exec(path) => { // Exact comparison so it can only trigger once per frame if counter == *thres { - let mut command = Command::new(&path); + let mut command = Command::new(path); command.stdin(Stdio::null()); set_cgi_variables(&mut command, &request, context); spawn(async move { -- cgit v1.2.3-70-g09d2