diff --git a/modules/quotes.js b/modules/quotes.js index 7f20c37..36837f1 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -18,7 +18,7 @@ var quotes = function(dbot) { var thisRef; while(quoteRefs && (thisRef = quoteRefs.shift()) !== undefined) { - var cleanRef = dbot.cleanNick(thisRef.replace(/^~~/,'').replace(/~~$/,'').trim()); + var cleanRef = dbot.cleanNick(thisRef.replace(/^~~/,'').replace(/~~$/,'').trim().toLowerCase()); if (quotes.hasOwnProperty(cleanRef)) { quoteTree.push(key); quoteString = quoteString.replace("~~" + cleanRef + "~~",