summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/lrstanley/girc/cap.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-03-25 22:01:02 +0100
committerGitHub <noreply@github.com>2022-03-25 22:01:02 +0100
commit5f75f9886d4458c5b08ae7f98a20f85415c3d706 (patch)
tree46c2bcc08ce6f9cb9ef0e1a7279ef534938c8700 /vendor/github.com/lrstanley/girc/cap.go
parent5d9604cd15513dce2244f0a4d2f8e67a6ee22455 (diff)
downloadmatterbridge-msglm-5f75f9886d4458c5b08ae7f98a20f85415c3d706.tar.gz
matterbridge-msglm-5f75f9886d4458c5b08ae7f98a20f85415c3d706.tar.bz2
matterbridge-msglm-5f75f9886d4458c5b08ae7f98a20f85415c3d706.zip
Update lrstanley/girc dep (#1773)
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 38ff210c..dcf53f0e 100644
--- a/vendor/github.com/lrstanley/girc/cap.go
+++ b/vendor/github.com/lrstanley/girc/cap.go
@@ -106,7 +106,7 @@ func parseCap(raw string) map[string]map[string]string {
if j < 0 {
out[parts[i][:val]][option] = ""
} else {
- out[parts[i][:val]][option[:j]] = option[j+1 : len(option)]
+ out[parts[i][:val]][option[:j]] = option[j+1:]
}
}
}