refactor: misc irc stuff

This commit is contained in:
ChomeNS
2024-12-10 08:23:20 +07:00
parent 6dc47be63e
commit 24b7ada58f

View File

@@ -228,10 +228,7 @@ public class IRCPlugin extends ListenerAdapter {
final String channel = servers.get(hostAndPort);
if (channel == null) {
bot.logger.error("Channel is not configured for " + hostAndPort);
return;
}
if (channel == null) return;
addMessageToQueue(channel, message);
}