From 6343503c3a2fa9e5e2e4d093765533e71ff4a95f Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 25 May 2012 01:49:13 +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 --- basile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basile.py b/basile.py index 71cef3c..35733e9 100755 --- a/basile.py +++ b/basile.py @@ -916,11 +916,11 @@ class Basile(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 _getnick(self): return self.serv.get_nickname() -- 2.39.2