lightirc: fix sending messages to server