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

first reference

This commit is contained in:
Luke Slater 2012-03-17 13:45:36 +00:00
parent e6b50b248d
commit 64f4979a85

View File

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