3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

Revert "lower case interpolation whatsits"

This reverts commit acb427a24e.
This commit is contained in:
Luke Slater 2012-03-27 15:04:32 +01:00
parent 055ec14719
commit 1503ad4ed5

View File

@ -18,7 +18,7 @@ var quotes = function(dbot) {
var thisRef; var thisRef;
while(quoteRefs && (thisRef = quoteRefs.shift()) !== undefined) { while(quoteRefs && (thisRef = quoteRefs.shift()) !== undefined) {
var cleanRef = dbot.cleanNick(thisRef.replace(/^~~/,'').replace(/~~$/,'').trim().toLowerCase()); var cleanRef = dbot.cleanNick(thisRef.replace(/^~~/,'').replace(/~~$/,'').trim());
if (quotes.hasOwnProperty(cleanRef)) { if (quotes.hasOwnProperty(cleanRef)) {
quoteTree.push(key); quoteTree.push(key);
quoteString = quoteString.replace("~~" + cleanRef + "~~", quoteString = quoteString.replace("~~" + cleanRef + "~~",