From ee944c62c4e0032dff0dd43c392fa01f8d5842b7 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Tue, 08 Aug 2017 11:40:14 +0100 Subject: [PATCH] Update sed.py --- dave/modules/sed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dave/modules/sed.py b/dave/modules/sed.py index f406014..5dcf139 100644 --- a/dave/modules/sed.py +++ a/dave/modules/sed.py @@ -26,7 +26,7 @@ try: # bold replacements - toDisplay = re.sub(args[3], "\x02{}\x0F".format(args[5]) if args[5] else "", + toDisplay = re.sub(args[3], "\x02{}\x02".format(args[5]) if args[5] else "", msg, count=0 if 'g' in flags else 1, flags=f) toSave = re.sub(args[3], args[5], msg, count=0 if 'g' in flags else 1, flags=f) -- rgit 0.1.3