summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bancache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bancache.cpp b/src/bancache.cpp
index fe23fd0b7..a831b1219 100644
--- a/src/bancache.cpp
+++ b/src/bancache.cpp
@@ -56,7 +56,7 @@ bool BanCacheManager::RemoveHit(BanCacheHit *b)
}
else
{
- this->BanHash->erase(b->IP);
+ this->BanHash->erase(i);
}
delete b;