This commit is contained in:
Nicolas Coevoet 2013-12-21 17:08:13 +01:00
parent fbb28391af
commit 138097f043

View File

@ -2490,7 +2490,6 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
chan = self.getChan(irc,channel) chan = self.getChan(irc,channel)
if chan.deopPending: if chan.deopPending:
return return
def unOpBot():
def unOpBot(): def unOpBot():
if channel in irc.state.channels: if channel in irc.state.channels:
if not len(i.queue) and not len(chan.queue): if not len(i.queue) and not len(chan.queue):