mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Protector: Fix variable name.
Signed-off-by: James McCoy <vega.james@gmail.com>
(cherry picked from commit 70a6e6932d
)
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
parent
f78803a82b
commit
a6f9c1c2d4
@ -96,7 +96,7 @@ class Protector(callbacks.Plugin):
|
|||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
chanOp = ircdb.makeChannelCapability(channel, 'op')
|
chanOp = ircdb.makeChannelCapability(channel, 'op')
|
||||||
chanVoice = ircdb.makeChannelCapability(channel, 'voice')
|
chanVoice = ircdb.makeChannelCapability(channel, 'voice')
|
||||||
chanhalfop = ircdb.makeChannelCapability(channel, 'halfop')
|
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))
|
irc.sendMsg(ircmsgs.deop(channel, msg.nick))
|
||||||
for (mode, value) in ircutils.separateModes(msg.args[1:]):
|
for (mode, value) in ircutils.separateModes(msg.args[1:]):
|
||||||
|
Loading…
Reference in New Issue
Block a user