# HG changeset patch # User Charly COSTE # Date 1252006541 -7200 # Node ID 75a05faea5ca5e3dc57ef1fd4645d4c2c88d027d # Parent 6034087b1d1099fc4fe70c9136e03977911d263a Fixed IRC strip_formatting_re Signed-off-by: Charly COSTE diff --git a/irclib.py b/irclib.py --- 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."""