3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00

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 // TODO: When this is merged into database branch, have it use the
// api.quotes.addQuote function // api.quotes.addQuote function
if(this.config.document_bans && _.has(dbot.modules, 'quotes')) { 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, 'banee': banee,
'banner': banner, 'banner': banner,
'time': new Date().toUTCString(), 'time': new Date().toUTCString(),

View File

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