Hopefully recursive aliases will be subject to supybot.commands.nested.maximum now.

This commit is contained in:
Jeremy Fincher 2004-10-13 22:28:47 +00:00
parent 14a980a8d5
commit 1fe3a5423b

View File

@ -142,8 +142,7 @@ def makeNewAlias(name, alias):
return True return True
return False return False
everythingReplace(tokens) everythingReplace(tokens)
Owner = irc.getCallback('Owner') self.Proxy(irc, msg, tokens)
self.Proxy(irc.irc, msg, tokens)
doc ='<an alias, %s>\n\nAlias for <<%s>>' % \ doc ='<an alias, %s>\n\nAlias for <<%s>>' % \
(utils.nItems('argument', biggestDollar), alias) (utils.nItems('argument', biggestDollar), alias)
f = utils.changeFunctionName(f, name, doc) f = utils.changeFunctionName(f, name, doc)