diff --git a/SharpChat/Commands/CreateChannelCommand.cs b/SharpChat/Commands/CreateChannelCommand.cs index 9e588e8..dd5b7fb 100644 --- a/SharpChat/Commands/CreateChannelCommand.cs +++ b/SharpChat/Commands/CreateChannelCommand.cs @@ -8,7 +8,7 @@ namespace SharpChat.Commands { } public void Dispatch(ChatCommandContext ctx) { - if(ctx.User.Can(ChatUserPermissions.CreateChannel)) { + if(!ctx.User.Can(ChatUserPermissions.CreateChannel)) { ctx.Chat.SendTo(ctx.User, new LegacyCommandResponse(LCR.COMMAND_NOT_ALLOWED, true, $"/{ctx.Name}")); return; }