mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-03-30 04:16:49 +02:00
Aka: Fix commit ddbadcafff (again).
This commit is contained in:
parent
feebaca292
commit
e99ad36667
@ -334,6 +334,7 @@ class Aka(callbacks.Plugin):
|
|||||||
ret = True
|
ret = True
|
||||||
return (ret, new_tokens)
|
return (ret, new_tokens)
|
||||||
(ret, tokens) = everythingReplace(tokens)
|
(ret, tokens) = everythingReplace(tokens)
|
||||||
|
maxNesting = conf.supybot.commands.nested.maximum()
|
||||||
if maxNesting and irc.nested+1 > maxNesting:
|
if maxNesting and irc.nested+1 > maxNesting:
|
||||||
irc.error(_('You\'ve attempted more nesting than is '
|
irc.error(_('You\'ve attempted more nesting than is '
|
||||||
'currently allowed on this bot.'), Raise=True)
|
'currently allowed on this bot.'), Raise=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user