From 8a10f820892c792257ebc659d634656ba50151ff Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 13 Aug 2013 11:33:32 -0400 Subject: [PATCH] Fix error message --- channel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/channel.js b/channel.js index c5d8af92..52c7975f 100644 --- a/channel.js +++ b/channel.js @@ -1161,11 +1161,11 @@ Channel.prototype.tryQueue = function(user, data) { var count = this.playlist.count(data.id); - if(user.rank < Rank.Moderator && count > 5) { + if(user.rank < Rank.Moderator && count >= 5) { user.socket.emit("queueFail", "That video is already on the " + - "playlist 10 times."); + "playlist 5 times."); return; - } else if(user.rank < Rank.Siteadmin && count > 20) { + } else if(user.rank < Rank.Siteadmin && count >= 20) { user.socket.emit("queueFail", "That video is already on the " + "playlist 20 times."); return;