From b9660f9bf3fb0dfd9aa47cf3dd6147f1b3526103 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sun, 13 May 2012 23:58:09 +0200 Subject: [PATCH] =?utf8?q?"d=C3=A9gage"=20n'updatait=20pas=20la=20chanlist?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- basile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/basile.py b/basile.py index 75ede3e..10433cc 100755 --- a/basile.py +++ b/basile.py @@ -678,6 +678,8 @@ class Basile(ircbot.SingleServerIRCBot): or auteur in self.overops): serv.part(canal,message="Éjecté par %s"%(auteur)) log(self.serveur,canal,auteur,message+"[successful]") + if canal in self.chanlist: + self.chanlist.remove(canal) else: serv.privmsg(canal,"%s: Non, je reste !"%(auteur)) log(self.serveur,canal,auteur,message+"[failed]") -- 2.39.2