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