Nightcap

n.
  1. A cap worn in bed to protect the head, or in undress.
  2. An alcoholic beverage drunk at bedtime.