Update ban-state in case of dirty-state during periodic sweep

This commit is contained in:
Jonas Schnelli 2017-11-05 16:34:40 -10:00
parent 8335cb4781
commit c8538123a7
No known key found for this signature in database
GPG key ID: 1EB776BB03C7922D

View file

@ -612,6 +612,11 @@ void CConnman::SweepBanned()
else
++it;
}
// update UI
if(setBannedIsDirty && clientInterface) {
clientInterface->BannedListChanged();
}
}
bool CConnman::BannedSetIsDirty()