Minor fix

This commit is contained in:
calzoneman 2013-07-18 10:33:10 -04:00
parent f4e392d190
commit 5a7b6aee85
1 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ User.prototype.initCallbacks = function() {
this.socket.on("savePlaylist", function(data) { this.socket.on("savePlaylist", function(data) {
if(this.rank < 1) { if(this.rank < 1) {
socket.emit("savePlaylist", { this.socket.emit("savePlaylist", {
success: false, success: false,
error: "You must be logged in to manage playlists" error: "You must be logged in to manage playlists"
}); });
@ -426,7 +426,7 @@ User.prototype.initCallbacks = function() {
} }
if(this.channel == null) { if(this.channel == null) {
socket.emit("savePlaylist", { this.socket.emit("savePlaylist", {
success: false, success: false,
error: "Not in a channel" error: "Not in a channel"
}); });