liquidx is cool.

This commit is contained in:
Jeremy Fincher 2004-02-06 10:48:52 +00:00
parent 47d81547aa
commit a20f742417

View File

@ -237,7 +237,9 @@ class Enforcer(callbacks.Privmsg):
def doPart(self, irc, msg):
if msg.prefix != irc.prefix:
channel = msg.args[0]
if len(irc.state.channels[channel].users) == 1:
c = irc.state.channels[channel]
if len(c.users) == 1:
if irc.nick not in c.ops:
self._cycle(irc, channel)
def doQuit(self, irc, msg):