Fixes issue where slash chat would be emitted on sockets