Protector: Fix variable name.

Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
Valentin Lorentz 2011-07-15 23:04:49 +02:00 committed by James McCoy
parent ce4d26514b
commit 70a6e6932d

View File

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