Don't send RPL_NOTOPIC on JOIN
As per https://modern.ircdocs.horse/#join-message
This commit is contained in:
parent
bc727496d0
commit
7060547809
@ -12,7 +12,10 @@ func forwardChannel(dc *downstreamConn, ch *upstreamChannel) {
|
|||||||
panic("Tried to forward a partial channel")
|
panic("Tried to forward a partial channel")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// RPL_NOTOPIC shouldn't be sent on JOIN
|
||||||
|
if ch.Topic != "" {
|
||||||
sendTopic(dc, ch)
|
sendTopic(dc, ch)
|
||||||
|
}
|
||||||
sendNames(dc, ch)
|
sendNames(dc, ch)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user