mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Forgot to return after an irc.error.
This commit is contained in:
parent
309a5df1f8
commit
01ee1169f0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user