few small jimblings

This commit is contained in:
reality 2013-06-30 15:11:56 +00:00
parent d650f2a10a
commit 8dcde52099
2 changed files with 1 additions and 3 deletions

View File

@ -33,8 +33,6 @@ var pages = function(dbot) {
}); });
}); });
} else { } else {
console.log(err);
console.log("the thing the thing");
res.render('error', { res.render('error', {
'name': dbot.config.name, 'name': dbot.config.name,
'message': 'No polls under that key.' 'message': 'No polls under that key.'

View File

@ -8,7 +8,7 @@ var commands = function(dbot) {
// Add a quote to a category // Add a quote to a category
'~qadd': function(event) { '~qadd': function(event) {
var key = event.input[1].toLowerCase().trim(); var key = event.input[1].toLowerCase().trim(),
quote = event.input[2]; quote = event.input[2];
this.api.addQuote(key, quote, event.user, function(newCount) { this.api.addQuote(key, quote, event.user, function(newCount) {