Permalink
Browse files

fix for empty dj spot, but more than 1 dj waiting

  • Loading branch information...
1 parent a92a607 commit e910a55ee34809e5c99c6d11d2a2baf895ae51ef @mcmoyer committed Mar 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 hoff-bot.js
View
@@ -272,7 +272,7 @@ bot.on('speak', function (data) {
} else {
queue[queue.length] = name;
bot.speak("Groovy! Can't wait to hear what you're gonna spin");
- if (dj_spot_available()) {
+ if (dj_spot_available() && (queue.length == 1)) {
bot.speak("go ahead @"+name+" and hop up - seat's all yours");
} else {
bot.speak(current_queue());
@@ -358,7 +358,7 @@ bot.on('speak', function (data) {
dj_counts = {};
bot.speak("I haven't heard anyone play anything...hey who are those guys on the dj stand?");
} else {
- bot.speak('Nice try Mr. Nobody");
+ bot.speak("Nice try Mr. Nobody");
}
}

0 comments on commit e910a55

Please sign in to comment.