@hook.command(permissions=['op_quiet', 'op'])
def quiet(text, conn, chan, notice):
 mode_cmd('+q', 'quiet', text, chan, conn, notice)

@ hook . command ( permissions = [ 'op_quiet' , 'op' ] ) def quiet ( text , conn , chan , notice ) : mode_cmd ( '+q' , 'quiet' , text , chan , conn , notice )
this gives admins the ability to quiet a user .