Minor fix

This commit is contained in:
calzoneman 2013-07-18 10:33:10 -04:00
parent f4e392d190
commit 5a7b6aee85

View file

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