Fix for cycling bug.

This commit is contained in:
Jeremy Fincher 2004-07-27 23:58:07 +00:00
parent 65c8b48d40
commit 8f72aeca1a

View File

@ -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):