mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed removecapability bug.
This commit is contained in:
parent
5d3a3437db
commit
f5d3b4ba2d
@ -297,7 +297,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
||||
"""
|
||||
(name, capability) = privmsgs.getArgs(args, 2)
|
||||
if ircdb.checkCapability(msg.prefix, capability) or \
|
||||
'!' in capability:
|
||||
ircdb.isAntiCapability(capability):
|
||||
try:
|
||||
id = ircdb.users.getUserId(name)
|
||||
user = ircdb.users.getUser(id)
|
||||
|
Loading…
Reference in New Issue
Block a user