forked from GitHub/dbot
lowercase banee name in quote cat
This commit is contained in:
parent
aefc605ecb
commit
ecfa6552a9
@ -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(),
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user