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