Forgot to return after an irc.error.

This commit is contained in:
Jeremy Fincher 2003-09-24 06:16:29 +00:00
parent 309a5df1f8
commit 01ee1169f0

View File

@ -149,6 +149,7 @@ class Topic(callbacks.Privmsg):
replacer = utils.perlReToReplacer(regexp) replacer = utils.perlReToReplacer(regexp)
except ValueError, e: except ValueError, e:
irc.error(msg, 'The regexp wasn\'t valid: %s' % e.args[0]) irc.error(msg, 'The regexp wasn\'t valid: %s' % e.args[0])
return
except re.error, e: except re.error, e:
irc.error(msg, debug.exnToString(e)) irc.error(msg, debug.exnToString(e))
return return