Fix npcs thingy whatever

This commit is contained in:
Luke Slater 2011-11-08 16:22:40 +00:00
parent 3068d6120d
commit b02ad7f7a7

View File

@ -94,7 +94,7 @@ var quotes = function(dbot) {
if(!Object.isArray(quotes[q[1]])) {
quotes[q[1]] = [];
} else {
if (q2 in quotes[q[1]]) {
if (q[2] in quotes[q[1]]) {
dbot.say(data.channel, 'Quote already in DB. Initiate incineration.');
return;
}