mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +01:00
Oops, syntax error.
This commit is contained in:
parent
b74cbfafef
commit
77e6aa7453
@ -191,8 +191,8 @@ class Enforcer(callbacks.Privmsg):
|
|||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
chanserv = self.registryValue('ChanServ', channel)
|
chanserv = self.registryValue('ChanServ', channel)
|
||||||
if not ircutils.isChannel(channel) or \
|
if not ircutils.isChannel(channel) or \
|
||||||
(self._isPowerful(irc, msg) and \
|
(self._isPowerful(irc, msg) and
|
||||||
not self.registryValue('takeRevengeOnOps', channel):
|
not self.registryValue('takeRevengeOnOps', channel)):
|
||||||
return
|
return
|
||||||
for (mode, value) in ircutils.separateModes(msg.args[1:]):
|
for (mode, value) in ircutils.separateModes(msg.args[1:]):
|
||||||
if value == msg.nick:
|
if value == msg.nick:
|
||||||
|
Loading…
Reference in New Issue
Block a user