IRC Backend: fix crash when joining room on some servers