3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 10:42:52 +01:00
Fix auditorium JOIN lines with zero values for the time and msgid tags.
This commit is contained in:
Shivaram Lingamneni 2021-05-05 10:00:19 -04:00
parent 503e575633
commit a131507090

View File

@ -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,