Fix irc-mode messages.

This commit is contained in:
cnaude 2018-07-27 21:48:14 -07:00
parent 0ea61ea8ae
commit 9a790522ce

View File

@ -52,7 +52,7 @@ public class ModeListener extends ListenerAdapter {
String mode = event.getMode();
User user = event.getUser();
if (!ircBot.isValidChannel(channel.getName())) {
if (ircBot.isValidChannel(channel.getName())) {
ircBot.broadcastIRCMode(user, mode, channel);
}
}