Skip to content

Commit 11069e8

Browse files
committed
made motd into an option
1 parent d1a8dd7 commit 11069e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)