From 5701b5c18c513f796af365169ceaea372a22638c Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 15 Mar 2026 09:15:54 -0700 Subject: [PATCH] fix: don't use a bitop for OR (#676) * fix: uname is missing from crond Signed-off-by: IAmTomahawkx * fix: don't use a bitop lol, two of us missed that. --------- Signed-off-by: IAmTomahawkx --- crates/core/config/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/config/src/lib.rs b/crates/core/config/src/lib.rs index 391b97a3..5edf24c2 100644 --- a/crates/core/config/src/lib.rs +++ b/crates/core/config/src/lib.rs @@ -455,7 +455,7 @@ pub async fn config() -> Settings { // auto-detect production nodes if config.hosts.api.contains("https") - && (config.hosts.api.contains("revolt.chat") | config.hosts.api.contains("stoat.chat")) + && (config.hosts.api.contains("revolt.chat") || config.hosts.api.contains("stoat.chat")) { config.production = true; }