mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 12:49:24 +01:00
Fixed UnboundLocalError
This commit is contained in:
parent
089e6a400d
commit
c628d60b8b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user