MOTD now gets sent as an array of lines

This commit is contained in:
khlieng 2015-02-01 02:08:38 +01:00
parent 736ef76bc0
commit 1c30da5474
3 changed files with 5 additions and 11 deletions

View file

@ -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 {