mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
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