Fix server-client communication

Regression was introduced by 08a2d53eb448fe80f68929111b8f6e74a44ffd50.
Make IRC export work with more clients