mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-10 20:22:36 +01: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
|
||||
return (ret, new_tokens)
|
||||
(ret, tokens) = everythingReplace(tokens)
|
||||
maxNesting = conf.supybot.commands.nested.maximum()
|
||||
if maxNesting and irc.nested+1 > maxNesting:
|
||||
irc.error(_('You\'ve attempted more nesting than is '
|
||||
'currently allowed on this bot.'), Raise=True)
|
||||
|
Loading…
Reference in New Issue
Block a user