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() uc.updateMonitor()
case "C": // clear case "C": // clear
dc.monitored = newCasemapMap() dc.monitored = newCasemapMap()
dc.monitored.SetCasemapping(casemapASCII) dc.monitored.SetCasemapping(uc.network.casemap)
uc.updateMonitor() uc.updateMonitor()
case "L": // list case "L": // list
// TODO: be less lazy and pack the list // TODO: be less lazy and pack the list