Fixed UnboundLocalError

This commit is contained in:
Jeremy Fincher 2003-03-22 03:18:57 +00:00
parent 089e6a400d
commit c628d60b8b
1 changed files with 1 additions and 0 deletions

View File

@ -999,6 +999,7 @@ class UserCommands(callbacks.Privmsg):
user = ircdb.users.getUser(name)
except KeyError:
irc.error(msg, conf.replyNoUser)
return
irc.reply(msg, '[%s]' % ', '.join(user.capabilities))
def auth(self, irc, msg, args):