forked from GitHub/dbot
lower case interpolation whatsits
This commit is contained in:
parent
e9b6b2d0f6
commit
acb427a24e
@ -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 + "~~",
|
||||
|
Loading…
Reference in New Issue
Block a user