aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-11-05 16:34:40 -1000
committerJonas Schnelli <dev@jonasschnelli.ch>2017-11-09 09:04:40 -1000
commitc8538123a7618343056b8ca2bc7445de8f0620ec (patch)
tree2dba565e3e3cbb1ceec8d0a76e25d655e9127d60 /src
parent8335cb478183d800e274f6e96f9d7269ae584220 (diff)
Update ban-state in case of dirty-state during periodic sweep
Diffstat (limited to 'src')
-rw-r--r--src/net.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 258599747a..5860109647 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -612,6 +612,11 @@ void CConnman::SweepBanned()
else
++it;
}
+
+ // update UI
+ if(setBannedIsDirty && clientInterface) {
+ clientInterface->BannedListChanged();
+ }
}
bool CConnman::BannedSetIsDirty()