lightirc: fix closing of private messages