mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Fixed bug where 'alias punish lart ' would make punish raise a 'cannot nest' error.
This commit is contained in:
parent
236582f5e9
commit
7bbb893662
@ -126,7 +126,7 @@ def makeNewAlias(name, alias):
|
|||||||
idx = int(m.group(1))
|
idx = int(m.group(1))
|
||||||
return args[idx-1]
|
return args[idx-1]
|
||||||
alias_ = dollarRe.sub(replace, alias_)
|
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' % \
|
f.__doc__ ='<an alias, %s %s>\n\nAlias for %r' % \
|
||||||
(biggestDollar,
|
(biggestDollar,
|
||||||
utils.pluralize(biggestDollar, 'argument'),
|
utils.pluralize(biggestDollar, 'argument'),
|
||||||
|
Loading…
Reference in New Issue
Block a user