From: David ‘Bombe’ Roden Date: Mon, 22 Dec 2014 16:56:18 +0000 (+0100) Subject: Remove correct extra channel after being kicked. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d32f42935735a5f9d12bd6ac4ce93c1119b97de0;p=xudocci.git Remove correct extra channel after being kicked. --- diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index cce13fe..ed80db9 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -677,7 +677,7 @@ public class Core extends AbstractExecutionThreadService { return; } - extraChannels.remove(channel); + extraChannels.remove(channel.get()); } else { channels.remove(channel.get()); }