mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 10:42:52 +01:00
fix #1642
Fix auditorium JOIN lines with zero values for the time and msgid tags.
This commit is contained in:
parent
503e575633
commit
a131507090
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user