mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
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