From 281ef53e7de5d30114dbf57a4b506b2d8d2720cc Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 12 Apr 2022 00:30:21 +0200 Subject: Update dependencies (#1800) --- vendor/github.com/lrstanley/girc/builtin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/lrstanley/girc/builtin.go') diff --git a/vendor/github.com/lrstanley/girc/builtin.go b/vendor/github.com/lrstanley/girc/builtin.go index 914b5fab..e60c577a 100644 --- a/vendor/github.com/lrstanley/girc/builtin.go +++ b/vendor/github.com/lrstanley/girc/builtin.go @@ -427,7 +427,7 @@ func handleMOTD(c *Client, e Event) { } // Otherwise, assume we're getting sent the MOTD line-by-line. - if len(c.state.motd) != 0 { + if c.state.motd != "" { c.state.motd += "\n" } c.state.motd += e.Last() -- cgit v1.2.3