lowercase banee name in quote cat

This commit is contained in:
reality 2013-06-09 12:40:13 +00:00
parent aefc605ecb
commit ecfa6552a9
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ var commands = function(dbot) {
// TODO: When this is merged into database branch, have it use the
// api.quotes.addQuote function
if(this.config.document_bans && _.has(dbot.modules, 'quotes')) {
dbot.db.quoteArrs['ban_' + banee] = [ dbot.t('nban_quote', {
dbot.db.quoteArrs['ban_' + banee.toLowerCase()] = [ dbot.t('nban_quote', {
'banee': banee,
'banner': banner,
'time': new Date().toUTCString(),

View File

@ -1,6 +1,6 @@
{
"webHost": "nourishedcloud.com",
"webPort": 8080,
"webPort": 9002,
"externalPath": false,
"help": "https://github.com/reality/depressionbot/blob/master/modules/web/README.md"
}