This commit is contained in:
Simon Ser 2022-08-23 09:53:11 +02:00
parent 57584c08ed
commit 6ba63aec4f

View File

@ -2246,8 +2246,7 @@ func (uc *upstreamConn) updateMonitor() {
wantNick := database.GetNick(&uc.user.User, &uc.network.Network) wantNick := database.GetNick(&uc.user.User, &uc.network.Network)
wantNickCM := uc.network.casemap(wantNick) wantNickCM := uc.network.casemap(wantNick)
if _, ok := add[wantNickCM]; !ok && !uc.monitored.Has(wantNick) && if _, ok := add[wantNickCM]; !ok && !uc.monitored.Has(wantNick) && !uc.isOurNick(wantNick) && !uc.hasDesiredNick {
!uc.isOurNick(wantNick) && !uc.hasDesiredNick {
addList = append(addList, wantNickCM) addList = append(addList, wantNickCM)
add[wantNickCM] = struct{}{} add[wantNickCM] = struct{}{}
} }