From fa97afddbda9c88e6e744121d69b24d07e849935 Mon Sep 17 00:00:00 2001 From: rachel-mp4 Date: Tue, 22 Jul 2025 18:36:47 -0400 Subject: [PATCH] remove max welcome message length --- options.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/options.go b/options.go index c0d73a0..b255f13 100644 --- a/options.go +++ b/options.go @@ -3,7 +3,6 @@ package lrcd import ( "errors" "io" - "unicode/utf8" lrcpb "github.com/rachel-mp4/lrcproto/gen/go" ) @@ -23,9 +22,6 @@ type Option func(option *options) error func WithWelcome(welcome string) Option { return func(options *options) error { - if utf8.RuneCountInString(welcome) > 50 { - return errors.New("welcome must be at most 50 runes") - } options.welcome = &welcome return nil } -- 2.51.2