downstream: reset map with correct casemapping on MONITOR C

This commit is contained in:
Simon Ser 2023-02-28 19:11:39 +01:00
parent 437f7a74f0
commit ce38d16454

View File

@ -2643,7 +2643,7 @@ func (dc *downstreamConn) handleMessageRegistered(ctx context.Context, msg *irc.
uc.updateMonitor()
case "C": // clear
dc.monitored = newCasemapMap()
dc.monitored.SetCasemapping(casemapASCII)
dc.monitored.SetCasemapping(uc.network.casemap)
uc.updateMonitor()
case "L": // list
// TODO: be less lazy and pack the list