mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +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)
|
(name, alias) = privmsgs.getArgs(args, needed=2)
|
||||||
realName = callbacks.canonicalName(name)
|
realName = callbacks.canonicalName(name)
|
||||||
if name != realName:
|
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
|
return
|
||||||
else:
|
else:
|
||||||
name = realName
|
name = realName
|
||||||
|
Loading…
Reference in New Issue
Block a user