Skip to content

Commit db47111

Browse files
Znojmokariscript
authored andcommitted
made motd into an option
1 parent d1a8dd7 commit db47111

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/status/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct StatusResponse {
1717

1818
/// The "motd" - message shown in the server list by the client.
1919
#[serde(rename = "description")]
20-
pub motd: ChatObject,
20+
pub motd: Option<ChatObject>,
2121

2222
/// URI to the server's favicon.
2323
pub favicon: Option<String>,

0 commit comments

Comments
 (0)