diff --git a/src/User.py b/src/User.py index 8c62e059a..7e08c8e0f 100755 --- a/src/User.py +++ b/src/User.py @@ -294,7 +294,7 @@ class User(callbacks.Privmsg): Returns the username of the user specified by or if the user is registered. """ - if ircutils.isNick(nickOrHostmask): + if ircutils.isNick(hostmask): try: hostmask = irc.state.nickToHostmask(hostmask) except KeyError: