mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 12:49:24 +01:00
NickAuth: fix error message in !list
This commit is contained in:
parent
607e5e0a68
commit
8e97ad3707
@ -126,8 +126,12 @@ class NickAuth(callbacks.Plugin):
|
|||||||
else:
|
else:
|
||||||
raise KeyError
|
raise KeyError
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.error(_('You have no recognized nick on this '
|
if user === ircdb.users.getUser(msg.prefix):
|
||||||
'network.'), Raise=True)
|
irc.error(_('You have no recognized nick on this '
|
||||||
|
'network.'), Raise=True)
|
||||||
|
else:
|
||||||
|
irc.error(_('%s has no recognized nick on this '
|
||||||
|
'network.') % user, Raise=True)
|
||||||
list = wrap(list, [optional('networkIrc'),
|
list = wrap(list, [optional('networkIrc'),
|
||||||
optional('otherUser')])
|
optional('otherUser')])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user