}
channelsBeingJoined.remove(channel.get());
+ synchronized (syncObject) {
+ syncObject.notifyAll();
+ }
/* remove all bots for this channel, we might have been kicked. */
Collection<Bot> botsToRemove = networkBots.row(network.get())
} else {
channels.remove(channel.get());
}
+ synchronized (syncObject) {
+ syncObject.notifyAll();
+ }
eventBus.post(new GenericMessage(String.format("Left Channel %s on %s.", channel.get().name(), channel.get().network().name())));
}
} else {
joinedChannels.remove(channel.get());
}
+ synchronized (syncObject) {
+ syncObject.notifyAll();
+ }
eventBus.post(new GenericMessage(format(
"Kicked from %s by %s: %s",
kickedFromChannel.channel(),