mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fixed a missing parameter to an irc.error() call
This commit is contained in:
parent
488fd6dd32
commit
07d46283ef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user