lightirc: cleanup based on Lint recommendations