PyChecker found a typoed variable name

This commit is contained in:
Jeremy Fincher 2003-03-26 10:06:26 +00:00
parent e7da39da77
commit 587c33cc05

View File

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