Skip to content

Commit

Permalink
Add default serde value
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm committed Sep 27, 2024
1 parent 7ff263c commit 9439e36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/src/config/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ pub struct Server {
#[serde(default)]
pub on_connect: Vec<String>,
/// 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(
Expand Down

0 comments on commit 9439e36

Please sign in to comment.