From fd9366e4f95b0a8a7f532354c25e4ba173d4ba6a Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 31 Oct 2011 17:10:25 +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 94bfa90..9480480 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]*)/, 3); if(q) { var correction = q[1]; var candidates = last[data.channel][data.user].split(' ');