diff --git a/plugins/Protector/plugin.py b/plugins/Protector/plugin.py index cae90feeb..0867e48eb 100644 --- a/plugins/Protector/plugin.py +++ b/plugins/Protector/plugin.py @@ -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:]):