From 5831c0652f2d2ab6216e747b7e3407b2a95e62c5 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 25 May 2012 01:48:54 +0200 Subject: [PATCH] =?utf8?q?Correction=20(apr=C3=A8s=20modification=20du=20s?= =?utf8?q?ourcecode=20d'irclib=20car=20l'impl=C3=A9mentation=20=20=20de=20?= =?utf8?q?PART=20est=20incorrecte)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- deconnaisseur.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deconnaisseur.py b/deconnaisseur.py index c2bec86..85de106 100755 --- a/deconnaisseur.py +++ b/deconnaisseur.py @@ -567,11 +567,11 @@ class Deconnaisseur(ircbot.SingleServerIRCBot): def quitter(self,chan,leave_message=None): if leave_message==None: leave_message=random.choice(config_leave_messages) - self.serv.part(chan,leave_message.encode("utf8")) + self.serv.part(chan,message=leave_message.encode("utf8")) def mourir(self): quit_message=random.choice(config_quit_messages) - self.die(message=config_quit_message) + self.die(msg=quit_message) def get_scores(self): f=open(config_score_file) -- 2.39.2