diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2015-07-03 09:00:47 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-09-16 16:50:20 +0200 |
commit | 4ed05101f32c629008f7f962eb988e8078863fed (patch) | |
tree | ed85a1275e82408bdb3bf15835906e9ea971e6fe /src/qt | |
parent | be8929265f0aa10c071e3efbfd20bfb4754ca543 (diff) |
[Qt] call DumpBanlist() when baning unbaning nodes
- this matches RPC call behaviour
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/rpcconsole.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index ae89ccf121..4dc976028f 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -807,6 +807,7 @@ void RPCConsole::banSelectedNode(int bantime) SplitHostPort(nStr, port, addr); CNode::Ban(CNetAddr(addr), BanReasonManuallyAdded, bantime); + DumpBanlist(); // store banlist to disk bannedNode->fDisconnect = true; clearSelectedNode(); @@ -826,6 +827,7 @@ void RPCConsole::unbanSelectedNode() if (possibleSubnet.IsValid()) { CNode::Unban(possibleSubnet); + DumpBanlist(); // store banlist to disk clientModel->getBanTableModel()->refresh(); } } |