A small example for someone who needed it on Freenode.