mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Fixed bug #1032403.
This commit is contained in:
parent
217799ad1c
commit
b898142039
@ -302,7 +302,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
||||
if ircdb.isAntiCapability(capability) or \
|
||||
ircdb.checkCapability(msg.prefix, capability):
|
||||
user.addCapability(capability)
|
||||
ircdb.users.setUser(id, user)
|
||||
ircdb.users.setUser(user.id, user)
|
||||
irc.replySuccess()
|
||||
else:
|
||||
irc.error('You can\'t add capabilities you don\'t have.')
|
||||
|
Loading…
Reference in New Issue
Block a user