fix unicode errors that prevented PMs from working properly

master
mutantmonkey 2011-11-16 17:12:54 -05:00
parent 0461aab1c1
commit d5a614d530
1 changed files with 1 additions and 1 deletions

2
irc.py
View File

@ -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}