From d5a614d530618fffdd7cc76ff3002d0079b91e54 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Wed, 16 Nov 2011 17:12:54 -0500 Subject: [PATCH] fix unicode errors that prevented PMs from working properly --- irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.py b/irc.py index c8da354..0b04404 100755 --- a/irc.py +++ b/irc.py @@ -23,7 +23,7 @@ class Origin(object): self.nick, self.user, self.host = match.groups() if len(args) > 1: - target = args[1] + target = args[1].decode('utf-8') else: target = None mappings = {bot.nick: self.nick, None: None}