From 4d6cedfb164059e9c5c607db4752533ae7333b44 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Wed, 19 Jun 2013 22:46:39 +0200 Subject: [PATCH] Unicode : Never were you think it is --- basile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basile.py b/basile.py index 1203465..4ee8067 100755 --- a/basile.py +++ b/basile.py @@ -436,7 +436,7 @@ class Basile(ircbot.SingleServerIRCBot): if auteur in self.ops and len(message) > 1: if message[1] in self.chanlist: if not (message[1] in self.stay_channels) or auteur in self.overops: - self.quitter(message[1], " ".join(message[2:])) + self.quitter(message[1].encode("utf-8"), " ".join(message[2:])) self.chanlist.remove(message[1]) log(self.serveur, "priv", auteur, " ".join(message) + "[successful]") else: -- 2.39.2