Fix 'user voteskipped [object Object]
'
This commit is contained in:
parent
89c94701dc
commit
738dd3fb75
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue