return;
}
networkConnections.remove(network.get());
- if (!connection.established()) {
- return;
- }
/* find all channels that need to be removed. */
for (Collection<Channel> channels : ImmutableList.of(joinedChannels, extraChannels)) {
channelBanManager.ban(channel.get());
if (channelNotJoined.reason() == registeredNicknamesOnly) {
eventBus.post(new GenericMessage(
- format("Not trying to join %s anymore.", channel.get())));
+ format("%s requires nickname registration, suspending join for a day.",
+ channel.get())));
} else if (channelNotJoined.reason() == inviteOnly) {
eventBus.post(new GenericMessage(
format("%s is invite-only, suspending join for a day.",