go fmt
This commit is contained in:
parent
57584c08ed
commit
6ba63aec4f
@ -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{}{}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user