forked from GitHub/dbot
Remove ^A from ctcp actions
I'll have my pony now.
This commit is contained in:
parent
3c225defee
commit
141cab407d
@ -99,6 +99,7 @@ var spelling = function(dbot) {
|
||||
var fix = this.last[event.channel.name][candidate].replace(winner, correction);
|
||||
if (/^.ACTION/.test(fix)) {
|
||||
fix = fix.replace(/^.ACTION/, '/me');
|
||||
fix = fix.replace("\x01", '');
|
||||
}
|
||||
this.last[event.channel.name][candidate] = fix;
|
||||
var output = {
|
||||
|
Loading…
Reference in New Issue
Block a user