summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/lrstanley/girc/event.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/event.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/event.go')
-rw-r--r--vendor/github.com/lrstanley/girc/event.go4
1 files changed, 1 insertions, 3 deletions
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
}