From 27f5ab6f303fab1d308b44b084c640bfb41f070b Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sun, 15 Apr 2012 23:27:14 +0100 Subject: [PATCH] quotes not name. jesus. --- modules/command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/command.js b/modules/command.js index a66b12e..a97eed2 100644 --- a/modules/command.js +++ b/modules/command.js @@ -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);