mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-03 16:39:25 +01:00
liquidx is cool.
This commit is contained in:
parent
47d81547aa
commit
a20f742417
@ -237,8 +237,10 @@ class Enforcer(callbacks.Privmsg):
|
|||||||
def doPart(self, irc, msg):
|
def doPart(self, irc, msg):
|
||||||
if msg.prefix != irc.prefix:
|
if msg.prefix != irc.prefix:
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
if len(irc.state.channels[channel].users) == 1:
|
c = irc.state.channels[channel]
|
||||||
self._cycle(irc, channel)
|
if len(c.users) == 1:
|
||||||
|
if irc.nick not in c.ops:
|
||||||
|
self._cycle(irc, channel)
|
||||||
|
|
||||||
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():
|
||||||
|
Loading…
Reference in New Issue
Block a user