lightirc: some small fixes