Ask if the player has access after checking if channel is null

Because the method hasAccessToChannel already checks if the channel is
null : that's a gain of time.

Also added the new category in the command /wri