From 58ed45469cab2e25f2a2a7a98de22ac079763063 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 16 Dec 2013 16:28:38 +0100 Subject: Reaktor/IRC: encode harder --- IRC/asybot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IRC') diff --git a/IRC/asybot.py b/IRC/asybot.py index 7fcc2ea..9a18341 100755 --- a/IRC/asybot.py +++ b/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