I forgot to change $nick elsewhere.