From: Vincent Le Gallic Date: Thu, 17 May 2012 22:11:03 +0000 (+0200) Subject: Merge branch 'master' of ssh://cerebro.crans.org/git/Basile X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=ce30fb95b79be3587a745886f385ca97abc8ad47;hp=903f399fa7c2a4352e73277a84cc935201eab092;p=bots%2Fbasile.git Merge branch 'master' of ssh://cerebro.crans.org/git/Basile --- diff --git a/basile.py b/basile.py index 88afebc..9b50b1a 100755 --- a/basile.py +++ b/basile.py @@ -757,7 +757,7 @@ class Basile(ircbot.SingleServerIRCBot): n1,n2=len(l1),len(l2) i=random.randrange(n1+n2) if i>=n1: - serv.action(canal,l2[i-n1]) + serv.action(canal,l2[i-n1].encode("utf8")) else: serv.privmsg(canal,"%s: %s"%(auteur,l1[i].encode("utf8"))) if is_tamere(message) and not canal in self.quiet_channels: