$chan is not valid in a nick event