From a6024c9b7d7f7e31f586324e4822e5025cac6b21 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sat, 17 Mar 2012 13:51:01 +0000 Subject: [PATCH] Oh shit, forgot that quote categories may be several words long. Removed parametisation until further thought takes place. --- modules/quotes.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/quotes.js b/modules/quotes.js index f65989b..75fe809 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -28,6 +28,7 @@ var quotes = function(dbot) { } // Parse quote parameters + /* var paramRefs = quoteString.match(/~~\$([1-9])~~/g); var thisParam; @@ -38,6 +39,7 @@ var quotes = function(dbot) { quoteString = quoteString.replace("~~$" + thisParam + "~~", params[thisParam]); } } + */ return quoteString; };