mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
quoteArrs, not quotes... jesus reality
This commit is contained in:
parent
fc5043e310
commit
b6607f7cd6
@ -7,7 +7,7 @@ var puns = function(dbot) {
|
||||
if((dbot.db.ignores.hasOwnProperty(data.user) &&
|
||||
dbot.db.ignores[data.user].include(name)) == false) {
|
||||
if(dbot.moduleNames.include('quotes') &&
|
||||
dbot.db.quotes.hasOwnProperty(data.user)) {
|
||||
dbot.db.quoteArrs.hasOwnProperty(data.user)) {
|
||||
data.message = '~q ' + data.user.toLowerCase();
|
||||
var params = data.message.split(' ');
|
||||
dbot.commands[params[0]](data, params);
|
||||
|
Loading…
Reference in New Issue
Block a user