lightirc: cleanups based on Lint