mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-18 08:02:49 +01:00
Fix an exception when adding the owner user.
This commit is contained in:
parent
ec3dba0a52
commit
dbcc622e76
@ -463,7 +463,7 @@ def main():
|
||||
try:
|
||||
id = ircdb.users.getUserId(name)
|
||||
u = ircdb.users.getUser(id)
|
||||
if u.checkCapability('owner'):
|
||||
if u._checkCapability('owner'):
|
||||
output("""That user already exists, and has owner capabilities
|
||||
already. Perhaps you added it before? """)
|
||||
if yn('Do you want to remove its owner capability?',
|
||||
|
Loading…
Reference in New Issue
Block a user