From 141cab407d12b1e0ac987dd632e54d6a01be65e1 Mon Sep 17 00:00:00 2001 From: Matt Molyneaux Date: Thu, 28 Mar 2013 21:20:41 +0000 Subject: [PATCH] Remove ^A from ctcp actions I'll have my pony now. --- modules/spelling/spelling.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/spelling/spelling.js b/modules/spelling/spelling.js index 5078e29..cf574c9 100644 --- a/modules/spelling/spelling.js +++ b/modules/spelling/spelling.js @@ -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 = {