upstream: drop unnecessary network nil check

Remnant from multi-upstream.
This commit is contained in:
Simon Ser 2023-03-01 11:52:42 +01:00
parent ce38d16454
commit 9b31dbfb24
1 changed files with 0 additions and 3 deletions

View File

@ -978,9 +978,6 @@ func (uc *upstreamConn) handleMessage(ctx context.Context, msg *irc.Message) err
uc.updateMonitor()
uc.forEachDownstream(func(dc *downstreamConn) {
if dc.network == nil {
return
}
msgs := xirc.GenerateIsupport(dc.srv.prefix(), dc.nick, downstreamIsupport)
for _, msg := range msgs {
dc.SendMessage(msg)