summaryrefslogtreecommitdiff
path: root/logbot.py
diff options
context:
space:
mode:
Diffstat (limited to 'logbot.py')
-rwxr-xr-xlogbot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/logbot.py b/logbot.py
index c8411d2..73a3200 100755
--- a/logbot.py
+++ b/logbot.py
@@ -211,6 +211,7 @@ class Logbot(SingleServerIRCBot):
else:
chans = event.target()
msg = self.format_event(name, event, params)
+ msg = re.sub(r'\[(\d{1,2})m', '', msg)
msg = urlify2(msg)
# In case there are still events that don't supply a channel name (like /quit and /nick did)