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