MOTD now gets sent as an array of lines
This commit is contained in:
parent
736ef76bc0
commit
1c30da5474
3 changed files with 5 additions and 11 deletions
|
@ -72,9 +72,9 @@ type Userlist struct {
|
|||
}
|
||||
|
||||
type MOTD struct {
|
||||
Server string `json:"server"`
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
Server string `json:"server"`
|
||||
Title string `json:"title"`
|
||||
Content []string `json:"content"`
|
||||
}
|
||||
|
||||
type Error struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue