mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed bugz0r.
This commit is contained in:
parent
53f77b790b
commit
410569708c
@ -299,10 +299,10 @@ def _getRe(f):
|
||||
if len(s) < 512:
|
||||
state.args.append(f(s))
|
||||
else:
|
||||
irc.errorInvalid('regular expression')
|
||||
irc.errorInvalid('regular expression', s)
|
||||
except IndexError:
|
||||
args[:] = original
|
||||
raise
|
||||
irc.errorInvalid('regular expression', s)
|
||||
return get
|
||||
|
||||
getMatcher = _getRe(utils.perlReToPythonRe)
|
||||
|
Loading…
Reference in New Issue
Block a user