diff --git a/src/User.py b/src/User.py index 7e08c8e0f..7027b1600 100755 --- a/src/User.py +++ b/src/User.py @@ -298,7 +298,7 @@ class User(callbacks.Privmsg): try: hostmask = irc.state.nickToHostmask(hostmask) except KeyError: - irc.error('I haven\'t seen %s.' % nick, Raise=True) + irc.error('I haven\'t seen %s.' % hostmask, Raise=True) try: user = ircdb.users.getUser(hostmask) irc.reply(user.name)