Fix 'user voteskipped [object Object]

'
This commit is contained in:
Calvin Montgomery 2014-05-22 19:51:35 -07:00
parent 89c94701dc
commit 738dd3fb75

View file

@ -35,7 +35,7 @@ VoteskipModule.prototype.handleVoteskip = function (user) {
var title = ""; var title = "";
if (this.channel.modules.playlist.current) { if (this.channel.modules.playlist.current) {
title = " " + this.channel.modules.playlist.current; title = " " + this.channel.modules.playlist.current.media.title;
} }
var name = user.getName() || "(anonymous)" var name = user.getName() || "(anonymous)"