summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/lrstanley/girc/cap.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-09-14 00:18:20 +0200
committerWim <wim@42.be>2018-09-14 00:18:20 +0200
commite0ca876de2dd8a8f0226848ef4ef10ef27400291 (patch)
tree4eb6325ca4a641158290eb8768062abaf3d537a3 /vendor/github.com/lrstanley/girc/cap.go
parenta431a4fa04ca5251b4a937876d064842063da030 (diff)
downloadmatterbridge-msglm-e0ca876de2dd8a8f0226848ef4ef10ef27400291.tar.gz
matterbridge-msglm-e0ca876de2dd8a8f0226848ef4ef10ef27400291.tar.bz2
matterbridge-msglm-e0ca876de2dd8a8f0226848ef4ef10ef27400291.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 e7037f9f..89146484 100644
--- a/vendor/github.com/lrstanley/girc/cap.go
+++ b/vendor/github.com/lrstanley/girc/cap.go
@@ -102,7 +102,7 @@ func handleCAP(c *Client, e Event) {
possible := possibleCapList(c)
- if len(e.Params) >= 2 && len(e.Trailing) > 1 && e.Params[1] == CAP_LS {
+ if len(e.Params) >= 2 && e.Params[1] == CAP_LS {
c.state.Lock()
caps := parseCap(e.Trailing)