diff --git a/scripty_webserver/src/endpoints/webhooks/discordservices_net.rs b/scripty_webserver/src/endpoints/webhooks/discordservices_net.rs index dee7c30..7672054 100644 --- a/scripty_webserver/src/endpoints/webhooks/discordservices_net.rs +++ b/scripty_webserver/src/endpoints/webhooks/discordservices_net.rs @@ -77,7 +77,7 @@ pub async fn discordservices_net_incoming_webhook( .map(|row| row.vote_reminder_disabled) .unwrap_or(false); - if opted_out { + if !opted_out { return Ok(()); } diff --git a/scripty_webserver/src/endpoints/webhooks/top_gg.rs b/scripty_webserver/src/endpoints/webhooks/top_gg.rs index d1a630c..4992c1e 100644 --- a/scripty_webserver/src/endpoints/webhooks/top_gg.rs +++ b/scripty_webserver/src/endpoints/webhooks/top_gg.rs @@ -68,7 +68,7 @@ pub async fn top_gg_incoming_webhook( .map(|row| row.vote_reminder_disabled) .unwrap_or(false); - if opted_out { + if !opted_out { return Ok(()); } diff --git a/scripty_webserver/src/endpoints/webhooks/wumpus_store.rs b/scripty_webserver/src/endpoints/webhooks/wumpus_store.rs index 65ac06d..555fd13 100644 --- a/scripty_webserver/src/endpoints/webhooks/wumpus_store.rs +++ b/scripty_webserver/src/endpoints/webhooks/wumpus_store.rs @@ -75,7 +75,7 @@ pub async fn wumpus_store_incoming_webhook( .map(|row| row.vote_reminder_disabled) .unwrap_or(false); - if opted_out { + if !opted_out { return Ok(()); }