Fix marshalling of channel name in RPL_CREATIONTIME

This commit is contained in:
Hubert Hirtz 2020-08-20 09:15:47 +02:00 committed by Simon Ser
parent e523deb15c
commit d957493348
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -970,7 +970,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
dc.SendMessage(&irc.Message{
Prefix: dc.srv.prefix(),
Command: rpl_creationtime,
Params: []string{dc.nick, channel, creationTime},
Params: []string{dc.nick, dc.marshalEntity(uc.network, ch.Name), creationTime},
})
})
}