mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Slight tweak.
This commit is contained in:
parent
3f0dcf15d1
commit
b9da065391
@ -257,12 +257,12 @@ class Enforcer(callbacks.Privmsg):
|
|||||||
def _cycle(self, irc, channel):
|
def _cycle(self, irc, channel):
|
||||||
if self.registryValue('cycleToGetOps', channel):
|
if self.registryValue('cycleToGetOps', channel):
|
||||||
if 'i' not in irc.state.channels[channel].modes:
|
if 'i' not in irc.state.channels[channel].modes:
|
||||||
# What about keywords?
|
# XXX: What about keywords?
|
||||||
self.log.info('Cycling %s: I\'m the only one left.', channel)
|
self.log.info('Cycling %s: I\'m the only one left.', channel)
|
||||||
irc.queueMsg(ircmsgs.part(channel))
|
irc.queueMsg(ircmsgs.part(channel))
|
||||||
irc.queueMsg(ircmsgs.join(channel))
|
irc.queueMsg(ircmsgs.join(channel))
|
||||||
else:
|
else:
|
||||||
self.log.warning('Not cycling %s: it\'s +i', channel)
|
self.log.info('Not cycling %s: it\'s +i', channel)
|
||||||
|
|
||||||
def doPart(self, irc, msg):
|
def doPart(self, irc, msg):
|
||||||
if msg.prefix != irc.prefix:
|
if msg.prefix != irc.prefix:
|
||||||
|
Loading…
Reference in New Issue
Block a user