Fix handling of PART messages with no reason
This commit is contained in:
parent
52f929ec45
commit
50dc0ef64f
6 changed files with 56 additions and 41 deletions
|
@ -40,8 +40,11 @@ type Join struct {
|
|||
}
|
||||
|
||||
type Part struct {
|
||||
Join
|
||||
Reason string `json:"reason,omitempty"`
|
||||
Server string `json:"server"`
|
||||
User string `json:"user"`
|
||||
Channel string `json:"channel,omitempty"`
|
||||
Channels []string `json:"channels,omitempty"`
|
||||
Reason string `json:"reason,omitempty"`
|
||||
}
|
||||
|
||||
type Mode struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue