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;
|
var thisRef;
|
||||||
|
|
||||||
while(quoteRefs && (thisRef = quoteRefs.shift()) !== undefined) {
|
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)) {
|
if (quotes.hasOwnProperty(cleanRef)) {
|
||||||
quoteTree.push(key);
|
quoteTree.push(key);
|
||||||
quoteString = quoteString.replace("~~" + cleanRef + "~~",
|
quoteString = quoteString.replace("~~" + cleanRef + "~~",
|
||||||
|
Loading…
Reference in New Issue
Block a user