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