Mercurial > xib
changeset 76:75a05faea5ca
Fixed IRC strip_formatting_re
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Thu, 03 Sep 2009 21:35:41 +0200 |
parents | 6034087b1d10 |
children | 686724c5183c |
files | irclib.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/irclib.py +++ b/irclib.py @@ -90,7 +90,7 @@ DEBUG = 0 # ERROR from the server triggers the error event and the disconnect event. # dropping of the connection triggers the disconnect event. -strip_formatting_re = re.compile('(?:\x03[0-9]+|\x02)') +strip_formatting_re = re.compile('(?:\x03[0-9]*|\x02)') class IRCError(Exception): """Represents an IRC exception."""