quotes not name. jesus.

This commit is contained in:
Luke Slater 2012-04-15 23:27:14 +01:00
parent 79cf8243a0
commit 27f5ab6f30

View File

@ -102,7 +102,7 @@ var command = function(dbot) {
key = dbot.cleanNick(q[1])
if(dbot.db.quoteArrs.hasOwnProperty(key) && dbot.moduleNames.include('quotes') &&
(dbot.db.ignores.hasOwnProperty(data.user) &&
dbot.db.ignores[data.user].include(name)) == false) {
dbot.db.ignores[data.user].include('quotes')) == false) {
var params = ['~q'];
key.split(' ').each((function(word) {
this.push(word);