mirror of https://github.com/Mikaela/Limnoria.git
Fixed UnboundLocalError
This commit is contained in:
parent
089e6a400d
commit
c628d60b8b
|
@ -999,6 +999,7 @@ class UserCommands(callbacks.Privmsg):
|
||||||
user = ircdb.users.getUser(name)
|
user = ircdb.users.getUser(name)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
irc.error(msg, conf.replyNoUser)
|
irc.error(msg, conf.replyNoUser)
|
||||||
|
return
|
||||||
irc.reply(msg, '[%s]' % ', '.join(user.capabilities))
|
irc.reply(msg, '[%s]' % ', '.join(user.capabilities))
|
||||||
|
|
||||||
def auth(self, irc, msg, args):
|
def auth(self, irc, msg, args):
|
||||||
|
|
Loading…
Reference in New Issue