Commits

Michael Schurter committed ecaefca

Decode messages as utf8

Comments (0)

Files changed (1)

pmxbot/botbase.py

 				c.notice(nick, line)
 	
 	def on_pubmsg(self, c, e):
-		msg = ''.join(e.arguments())
+		msg = (''.join(e.arguments())).decode('utf8', 'ignore')
 		nick = e.source().split('!', 1)[0]
 		channel = e.target()
 		if msg == '':