forked from GitHub/dbot
**
This commit is contained in:
parent
130363c991
commit
a4a8471ab5
@ -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(' ');
|
||||
|
Loading…
Reference in New Issue
Block a user