3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00

Merge pull request #334 from moggers87/patch-1

Remove ^A from ctcp actions
This commit is contained in:
reality 2013-03-28 15:10:30 -07:00
commit 24e6012feb

View File

@ -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 = {