Misspelled variable name.

This commit is contained in:
Jeremy Fincher 2004-12-16 14:17:03 +00:00
parent 664c468130
commit 889cb347f7

View File

@ -128,7 +128,7 @@ class Protector(callbacks.Privmsg):
chanOp = ircdb.makeChannelCapability(channel, 'op')
chanVoice = ircdb.makeChannelCapability(channel, 'voice')
chanhalfop = ircdb.makeChannelCapability(channel, 'halfop')
if not ircdb.checkCapability(msg.prefix, chanop):
if not ircdb.checkCapability(msg.prefix, chanOp):
irc.sendMsg(ircmsgs.deop(channel, msg.nick))
for (mode, value) in ircutils.separateModes(msg.args[1:]):
if not value: