From 595a787f8abad2b52551271ed2b209df1d9ab208 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 10 Dec 2004 06:18:00 +0000 Subject: [PATCH] Fix bug #1082448, User.username traceback --- src/User.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: