Fixed a missing parameter to an irc.error() call

This commit is contained in:
James Vega 2003-08-31 21:32:53 +00:00
parent 488fd6dd32
commit 07d46283ef

View File

@ -176,7 +176,8 @@ class Alias(callbacks.Privmsg):
(name, alias) = privmsgs.getArgs(args, needed=2)
realName = callbacks.canonicalName(name)
if name != realName:
irc.error('That name isn\'t valid. Try %r instead.' % realName)
irc.error(msg, 'That name isn\'t valid. Try %r instead.' %\
realName)
return
else:
name = realName