Support for non-ascii in the message from GitHub.

master
Hoaas 2012-04-29 22:37:16 +03:00
parent 01b59135e4
commit 699ea302de
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class GitHub(callbacks.Plugin):
url)
if hidden is not None:
s += _(' (+ %i hidden commits)') % hidden
return ircmsgs.privmsg(channel, s)
return ircmsgs.privmsg(channel, s.encode('utf8'))
def onPayload(self, payload):
repo = '%s/%s' % (payload['repository']['owner']['name'],