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/event.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vendor/github.com/lrstanley/girc/event.go') diff --git a/vendor/github.com/lrstanley/girc/event.go b/vendor/github.com/lrstanley/girc/event.go index 423e452b..3eb187f9 100644 --- a/vendor/github.com/lrstanley/girc/event.go +++ b/vendor/github.com/lrstanley/girc/event.go @@ -13,7 +13,7 @@ import ( const ( eventSpace byte = ' ' // Separator. - maxLength = 510 // Maximum length is 510 (2 for line endings). + maxLength int = 510 // Maximum length is 510 (2 for line endings). ) // cutCRFunc is used to trim CR characters from prefixes/messages. @@ -636,6 +636,4 @@ func (s *Source) writeTo(buffer *bytes.Buffer) { buffer.WriteByte(prefixHost) buffer.WriteString(s.Host) } - - return } -- cgit v1.2.3