From 64f4979a85a3910da92b861dde6faca38cb0a3d8 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sat, 17 Mar 2012 13:45:36 +0000 Subject: [PATCH] first reference --- modules/quotes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/quotes.js b/modules/quotes.js index 387787b..06c708b 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -32,6 +32,7 @@ var quotes = function(dbot) { var thisParam; while(paramRefs && (thisParam = paramRefs.shift()) !== undefined) { + thisParam = thisParam[1]; if(thisParam < params.length) { quoteString = quoteString.replace("~~$" + + "~~", params[thisParam]); }