From 9439e36042b2c60746d9c35440c5479e4299d0d8 Mon Sep 17 00:00:00 2001 From: Casper Rogild Storm Date: Fri, 27 Sep 2024 23:43:07 +0200 Subject: [PATCH] Add default serde value --- data/src/config/server.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/data/src/config/server.rs b/data/src/config/server.rs index 5f1bbd418..d70e559f9 100644 --- a/data/src/config/server.rs +++ b/data/src/config/server.rs @@ -79,6 +79,7 @@ pub struct Server { #[serde(default)] pub on_connect: Vec, /// Enable WHO polling. Defaults to `true`. + #[serde(default = "default_who_poll_enabled")] pub who_poll_enabled: bool, /// WHO poll interval for servers without away-notify. #[serde(