This commit is contained in:
Jeremy Fincher 2004-09-22 22:31:56 +00:00
parent 217799ad1c
commit b898142039

View File

@ -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.')