Browse Source

Update currency.js

master
Brandon Cornejo 11 years ago
parent
commit
4d1a128864
  1. 5
      lib/currency.js

5
lib/currency.js

@ -368,9 +368,6 @@ Currency.prototype.commands = function (data) {
} }
} }
break; break;
case '!chatters':
__self.irc.emit('message', {message:__self.pre_text + 'Active chatters: ' + __self.active_list.toString()});
break;
case '!top': case '!top':
__self.get_top(data[4]); __self.get_top(data[4]);
break; break;
@ -522,7 +519,7 @@ Currency.prototype.get_top = function (data) {
response += '#'+(i+1)+': ' + rows[i].user + '('+rows[i].points+')'; response += '#'+(i+1)+': ' + rows[i].user + '('+rows[i].points+')';
} }
} }
__self.irc.emit('message', {message:'> Top Potato Farmers: ' + response});
__self.irc.emit('message', {message:'> Top Farmers: ' + response});
}); });
// clear flood requests // clear flood requests

Loading…
Cancel
Save