Player.prototype.join = function(channel) { this.socket.join('room_' + this.room.id + '_' + channel); };