[filesay] Lint: Remove dead code

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-03-04 23:50:38 +01:00
parent 56f980c48f
commit 6ce8375fa5
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -19,14 +19,10 @@ const (
httpTimeout = 5 * time.Second httpTimeout = 5 * time.Second
) )
var ( var formatMessage plugins.MsgFormatter
formatMessage plugins.MsgFormatter
send plugins.SendMessageFunc
)
func Register(args plugins.RegistrationArguments) error { func Register(args plugins.RegistrationArguments) error {
formatMessage = args.FormatMessage formatMessage = args.FormatMessage
send = args.SendMessage
args.RegisterActor(actorName, func() plugins.Actor { return &actor{} }) args.RegisterActor(actorName, func() plugins.Actor { return &actor{} })