lightirc: fix user mentioning bugs