~emersion/soju

7060547809be03aa3342ae47151b97c8206230fb — Simon Ser 4 months ago bc72749
Don't send RPL_NOTOPIC on JOIN

As per https://modern.ircdocs.horse/#join-message
1 files changed, 4 insertions(+), 1 deletions(-)

M bridge.go
M bridge.go => bridge.go +4 -1
@@ 12,7 12,10 @@ func forwardChannel(dc *downstreamConn, ch *upstreamChannel) {
		panic("Tried to forward a partial channel")
	}

	sendTopic(dc, ch)
	// RPL_NOTOPIC shouldn't be sent on JOIN
	if ch.Topic != "" {
		sendTopic(dc, ch)
	}
	sendNames(dc, ch)
}