lightirc: simplify recreation logic