mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
**
This commit is contained in:
parent
b9d7ff19ed
commit
fd9366e4f9
@ -4,7 +4,7 @@ var spelling = function(dbot) {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
'listener': function(data, params) {
|
'listener': function(data, params) {
|
||||||
var q = data.message.valMatch(/^(\*|\*\*)([\d\w\s]*)/, 3);
|
var q = data.message.valMatch(/^\*|\*\*([\d\w\s]*)/, 3);
|
||||||
if(q) {
|
if(q) {
|
||||||
var correction = q[1];
|
var correction = q[1];
|
||||||
var candidates = last[data.channel][data.user].split(' ');
|
var candidates = last[data.channel][data.user].split(' ');
|
||||||
|
Loading…
Reference in New Issue
Block a user