mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Protector: Fix variable name.
This commit is contained in:
parent
ce08f275d4
commit
5e9fd8129e
@ -98,7 +98,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:]):
|
||||
|
Loading…
Reference in New Issue
Block a user