blocking commands

How would you write server side lua to block a client from running a console command?