3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 12:59:34 +01:00

err debug

This commit is contained in:
Luke Slater 2012-03-17 13:49:08 +00:00
parent e0e1d6100d
commit 309755ba5d

View File

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