diff options
Diffstat (limited to 'cmd_cap.go')
-rw-r--r-- | cmd_cap.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,6 +33,9 @@ func handleClientCap(msg RMsg, client *Client) error { } else { err = client.Send(MakeMsg(self, "CAP", client.Nick, "LS", capls)) } + if err != nil { + return err + } } else { err = client.Send(MakeMsg(self, "CAP", client.Nick, "LS", capls)) } |