From 5f75f9886d4458c5b08ae7f98a20f85415c3d706 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 25 Mar 2022 22:01:02 +0100 Subject: Update lrstanley/girc dep (#1773) --- vendor/github.com/lrstanley/girc/cap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/lrstanley/girc/cap.go') 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:] } } } -- cgit v1.2.3