Shitlist: Fix bug from two checkins ago, all were forever

This commit is contained in:
zzz
2009-11-15 23:47:01 +00:00
parent 1e3d6776aa
commit eceac6def0

View File

@ -119,7 +119,7 @@ public class Shitlist {
return shitlistRouter(peer, reason, reasonCode, null, true);
}
public boolean shitlistRouter(Hash peer, String reason, String transport, boolean forever) {
return shitlistRouter(peer, reason, null, null, true);
return shitlistRouter(peer, reason, null, transport, forever);
}
private boolean shitlistRouter(Hash peer, String reason, String reasonCode, String transport, boolean forever) {
if (peer == null) {