Add ignore checks manually

This commit is contained in:
Draycia committed 2020-08-25 23:27:59 -07:00
1 parent ad857e326a
commit 5082a4c1bc
2 files changed
+9

No files matched your search

@@ -32,6 +32,10 @@ public class AliasedChannelCommand extends BaseCommand {
throw new ConditionFailedException(chatChannel.getCannotUseMessage());
}
if (user.getChannelSettings(chatChannel).isIgnored()) {
throw new ConditionFailedException(chatChannel.getCannotUseMessage());
}
if (args == null || args.length == 0) {
user.setSelectedChannel(getChatChannel());