From: David ‘Bombe’ Roden Date: Mon, 22 Dec 2014 16:56:32 +0000 (+0100) Subject: Remove channel we’re kicked from from the correct collection. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e89d921415a0ae26ebb5bb7cee7a1e72fc0418b4;p=xudocci.git Remove channel we’re kicked from from the correct collection. --- diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index ed80db9..30da4a8 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -679,7 +679,7 @@ public class Core extends AbstractExecutionThreadService { extraChannels.remove(channel.get()); } else { - channels.remove(channel.get()); + joinedChannels.remove(channel.get()); } eventBus.post(new GenericMessage(format( "Kicked from %s by %s: %s",