Fixed bug where 'alias punish lart ' would make punish raise a 'cannot nest' error.

This commit is contained in:
Jeremy Fincher 2003-09-02 19:51:04 +00:00
parent 236582f5e9
commit 7bbb893662

View File

@ -126,7 +126,7 @@ def makeNewAlias(name, alias):
idx = int(m.group(1))
return args[idx-1]
alias_ = dollarRe.sub(replace, alias_)
self.Proxy(irc, msg, callbacks.tokenize(alias_))
self.Proxy(irc.irc, msg, callbacks.tokenize(alias_))
f.__doc__ ='<an alias, %s %s>\n\nAlias for %r' % \
(biggestDollar,
utils.pluralize(biggestDollar, 'argument'),