Fixed collision ip generation.

This commit is contained in:
Christian P. MOMON 2024-07-20 03:46:46 +02:00
parent 316d22aecd
commit 030f895c5c

View file

@ -95,10 +95,10 @@ public final class AnonMap
} }
// Check it does not already exist. // Check it does not already exist.
if ((this.map.get(result) == null) && (this.unmap.get(result) == null)) if ((this.unmap.get(result) == null) && (this.map.get(result) == null))
{ {
this.map.put(ip, result); this.map.put(ip, result);
this.unmap.put(ip, result); this.unmap.put(result, ip);
ended = true; ended = true;
} }
} }