From a4a8471ab52a704401b0217fedb3fb68a6a83e38 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 31 Oct 2011 17:13:41 +0000 Subject: [PATCH] ** --- modules/spelling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spelling.js b/modules/spelling.js index 4e4cf96..030d5ed 100644 --- a/modules/spelling.js +++ b/modules/spelling.js @@ -4,7 +4,7 @@ var spelling = function(dbot) { return { 'listener': function(data, params) { - var q = data.message.valMatch(/^\*([\d\w\s]*)/, 3); + var q = data.message.valMatch(/^\*\*?([\d\w\s]*)/, 2); if(q) { var correction = q[1]; var candidates = last[data.channel][data.user].split(' ');