From a13150709062b17f3d0085b41a70d9c419b4c6b4 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 5 May 2021 10:00:19 -0400 Subject: [PATCH] fix #1642 Fix auditorium JOIN lines with zero values for the time and msgid tags. --- irc/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/channel.go b/irc/channel.go index 5b371764..00cfe868 100644 --- a/irc/channel.go +++ b/irc/channel.go @@ -819,9 +819,9 @@ func (channel *Channel) Join(client *Client, key string, isSajoin bool, rb *Resp var message utils.SplitMessage respectAuditorium := givenMode == modes.Mode(0) && channel.flags.HasMode(modes.Auditorium) + message = utils.MakeMessage("") // no history item for fake persistent joins if rb != nil && !respectAuditorium { - message = utils.MakeMessage("") histItem := history.Item{ Type: history.Join, Nick: details.nickMask,