mirror of
https://github.com/reality/dbot.git
synced 2024-12-28 13:42:36 +01:00
Merge pull request #334 from moggers87/patch-1
Remove ^A from ctcp actions
This commit is contained in:
commit
24e6012feb
@ -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