3
0
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:
Luke Slater 2012-04-19 12:09:14 +01:00
parent fc5043e310
commit b6607f7cd6

View File

@ -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);