3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-28 06:49:25 +01:00

first reference

This commit is contained in:
Luke Slater 2012-03-17 13:47:06 +00:00
parent 64f4979a85
commit e0e1d6100d

View File

@ -34,7 +34,7 @@ var quotes = function(dbot) {
while(paramRefs && (thisParam = paramRefs.shift()) !== undefined) { while(paramRefs && (thisParam = paramRefs.shift()) !== undefined) {
thisParam = thisParam[1]; thisParam = thisParam[1];
if(thisParam < params.length) { if(thisParam < params.length) {
quoteString = quoteString.replace("~~$" + + "~~", params[thisParam]); quoteString = quoteString.replace("~~$" + thisParam + "~~", params[thisParam]);
} }
} }