Handle nick collisions by right-padding with _

This commit is contained in:
Ken-Håvard Lieng 2017-04-06 23:26:58 +02:00
parent 50dc0ef64f
commit 961c0415a0
8 changed files with 51 additions and 27 deletions

View file

@ -64,7 +64,7 @@ type Quit struct {
type Chat struct {
Server string `json:"server"`
From string `json:"from"`
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
Message string `json:"message"`
}