bitcoin/bitcoin — pull request #4543 by rebroad (2014-07-16 04:42:40+00:00)
Title: Fix misbehave disconnect bug intoduced in #4378

#4378 introduced a bug so that a node would never be disconnected is any single instance of misbehaviour was equal to or greater than the total amount of misbehaviour permitted.