Optional<Channel> channel = getChannel(network.get(), channelNotJoined.channel());
if (!channel.isPresent()) {
- eventBus.post(new GenericMessage(format("Could not join %s but didn’t try to join, either.", channel.get())));
+ eventBus.post(new GenericMessage(format("Could not join %s but didn’t try to join, either.", channelNotJoined.channel())));
return;
}