From 5f6ded8bcbc4700b4547c4d1285e71e270908b2f Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 16 Dec 2013 16:28:38 +0100 Subject: Reaktor/IRC: encode harder --- Reaktor/IRC/asybot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Reaktor/IRC/asybot.py') diff --git a/Reaktor/IRC/asybot.py b/Reaktor/IRC/asybot.py index 7fcc2ea6..9a183413 100755 --- a/Reaktor/IRC/asybot.py +++ b/Reaktor/IRC/asybot.py @@ -133,7 +133,7 @@ class asybot(asychat): '^(\w+|\*):\s*(\w+)(?:\s+(.*))?$', rest) except (ValueError, Exception): if search(self.nickname, rest): - PRIVMSG('I\'m so famous') + PRIVMSG('I\'m so famous'.encode(encoding='UTF-8')) return # ignore if _handle == self.nickname or _handle == '*': -- cgit v1.2.3