mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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)
|
||||
except ValueError, e:
|
||||
irc.error(msg, 'The regexp wasn\'t valid: %s' % e.args[0])
|
||||
return
|
||||
except re.error, e:
|
||||
irc.error(msg, debug.exnToString(e))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user