mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fix for cycling bug.
This commit is contained in:
parent
65c8b48d40
commit
8f72aeca1a
@ -275,6 +275,7 @@ class Enforcer(callbacks.Privmsg):
|
|||||||
def doQuit(self, irc, msg):
|
def doQuit(self, irc, msg):
|
||||||
for (channel, c) in irc.state.channels.iteritems():
|
for (channel, c) in irc.state.channels.iteritems():
|
||||||
if len(c.users) == 1:
|
if len(c.users) == 1:
|
||||||
|
if irc.nick not in c.ops:
|
||||||
self._cycle(irc, channel)
|
self._cycle(irc, channel)
|
||||||
|
|
||||||
def __call__(self, irc, msg):
|
def __call__(self, irc, msg):
|
||||||
|
Loading…
Reference in New Issue
Block a user