summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/lrstanley/girc/cap.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-11-30 00:27:31 +0100
committerWim <wim@42.be>2017-11-30 00:27:31 +0100
commitcc3c1681622ccbf304edc2fce05169ce983560ab (patch)
tree3a26d8bf6824e7ff33b476931fbe8610400ad71e /vendor/github.com/lrstanley/girc/cap.go
parent1ee6837f0e8e88aa02b6af8c29c1cc6c29ed0dd3 (diff)
downloadmatterbridge-msglm-cc3c1681622ccbf304edc2fce05169ce983560ab.tar.gz
matterbridge-msglm-cc3c1681622ccbf304edc2fce05169ce983560ab.tar.bz2
matterbridge-msglm-cc3c1681622ccbf304edc2fce05169ce983560ab.zip
Update vendor lrstanley/girc
Diffstat (limited to 'vendor/github.com/lrstanley/girc/cap.go')
-rw-r--r--vendor/github.com/lrstanley/girc/cap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/lrstanley/girc/cap.go b/vendor/github.com/lrstanley/girc/cap.go
index 751135b3..a63dfe9d 100644
--- a/vendor/github.com/lrstanley/girc/cap.go
+++ b/vendor/github.com/lrstanley/girc/cap.go
@@ -136,7 +136,7 @@ func handleCAP(c *Client, e Event) {
}
// Let them know which ones we'd like to enable.
- c.write(&Event{Command: CAP, Params: []string{CAP_REQ}, Trailing: strings.Join(c.state.tmpCap, " ")})
+ c.write(&Event{Command: CAP, Params: []string{CAP_REQ}, Trailing: strings.Join(c.state.tmpCap, " "), EmptyTrailing: true})
// Re-initialize the tmpCap, so if we get multiple 'CAP LS' requests
// due to cap-notify, we can re-evaluate what we can support.