NickAuth: fix leak of information if 'nick list' is used on a user without a configured nick (Closes ProgVal/Limnoria#996)

This commit is contained in:
James Lu 2015-01-09 13:12:57 -05:00
parent 015d7f38d0
commit 7c9e5708a2
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class NickAuth(callbacks.Plugin):
'network.'), Raise=True)
else:
irc.error(_('%s has no recognized nick on this '
'network.') % user, Raise=True)
'network.') % user.name, Raise=True)
list = wrap(list, [optional('networkIrc'),
optional('otherUser')])