mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-02 16:31:11 -05:00
SedRegex: reuse processTimeout in the sub() process too
This commit is contained in:
parent
edededfae8
commit
4e08442cde
@ -159,7 +159,7 @@ class SedRegex(callbacks.PluginRegexp):
|
||||
if self.registryValue('boldReplacementText', msg.args[0]):
|
||||
replacement = ircutils.bold(replacement)
|
||||
subst = process(pattern.sub, replacement,
|
||||
text, count, timeout=0.05)
|
||||
text, count, timeout=regex_timeout)
|
||||
if action: # If the message was an ACTION, prepend the nick back.
|
||||
subst = '* %s %s' % (m.nick, subst)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user