aboutsummaryrefslogtreecommitdiff
path: root/src/modules/ratelimit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/ratelimit.rs')
-rw-r--r--src/modules/ratelimit.rs2
1 files changed, 1 insertions, 1 deletions
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 {