mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
PyChecker found a typoed variable name
This commit is contained in:
parent
e7da39da77
commit
587c33cc05
@ -506,7 +506,7 @@ class AdminCommands(callbacks.Privmsg):
|
||||
# This has to know that defaultCapabilties gets turned into a
|
||||
# dictionary.
|
||||
if command in conf.defaultCapabilities:
|
||||
conf.defaultCapabilities.remove(capability)
|
||||
conf.defaultCapabilities.remove(command)
|
||||
capability = ircdb.makeAntiCapability(command)
|
||||
conf.defaultCapabilities.add(capability)
|
||||
irc.reply(msg, conf.replySuccess)
|
||||
|
Loading…
Reference in New Issue
Block a user