mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +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