if (shouldSendNotification(referenceAsString)) {
String message = String.format("%s was modified by %s %s - %s",
referenceAsString,
getNotificationAuthor(event, document),
getNotificationComment(event, document),
<BUG>getNotificationURL(event, document));
this.bot.sendMessage(this.bot.getChannelsNames().iterator().next(), message);

}</BUG>
} catch (IRCBotException e) {

if (shouldSendNotification(referenceAsString)) {
String message = String.format("%s was modified by %s %s - %s",
referenceAsString,
getNotificationAuthor(event, document),
getNotificationComment(event, document),
getNotificationURL(event, document));
Iterator<String> channelNameItator = this.bot.getChannelsNames().iterator();
if (channelNameItator.hasNext()) {
this.bot.sendMessage(channelNameItator.next(), message);
}
}
} catch (IRCBotException e) {
