fix missing lock in CNode::ClearBanned()

This commit is contained in:
Jonas Schnelli 2015-06-19 13:31:33 +02:00
parent 40400d53d3
commit 62909f68a0

View File

@ -448,6 +448,7 @@ CCriticalSection CNode::cs_setBanned;
void CNode::ClearBanned() void CNode::ClearBanned()
{ {
LOCK(cs_setBanned);
setBanned.clear(); setBanned.clear();
} }