Merge pull request #998 from GLolol/nickauth-1

NickAuth: fix leak of information if 'nick list' is used on a user without a configured nick
This commit is contained in:
Valentin Lorentz 2015-01-11 08:58:07 +01:00
commit dd818f6e7e
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')])