From 10a360f193c60a250f90755432b5c953607a3153 Mon Sep 17 00:00:00 2001 From: Nicolas Coevoet Date: Tue, 7 Jan 2014 20:30:17 +0100 Subject: [PATCH] prevent method call cycle --- plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index b96c0e3..5910450 100644 --- a/plugin.py +++ b/plugin.py @@ -1797,9 +1797,9 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler): f = self._logChan elif prefix == irc.prefix and self.registryValue('announceBotEdit',channel=item.channel): f = self._logChan + del chan.update[key] b = i.edit(irc,item.channel,item.mode,item.value,expire,prefix,self.getDb(irc.network),self._schedule,f) key = '%s%s' % (m,value) - del chan.update[key] retickle = True # update marks if len(chan.mark): @@ -2685,6 +2685,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler): if self.registryValue('announceMode',channel=channel) and len(msgs): self._logChan(irc,channel,'[%s] %s sets %s' % (channel,msg.prefix,' '.join(msgs))) self.forceTickle = True + self._tickle(irc) def do474(self,irc,msg): # bot banned from a channel it's trying to join