mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-20 15:41:09 +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)
|
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…
x
Reference in New Issue
Block a user