diff participant.py @ 66:91b98275f2eb

Encoding issue Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 30 Aug 2009 18:57:47 +0200
parents 75604669fcd9
children 7aa1f59800b0
line wrap: on
line diff
--- a/participant.py
+++ b/participant.py
@@ -199,7 +199,7 @@ class participant:
 		if message == None:
 			message = ''
 		if self.xmpp_c != None:
-			self.muc.leave(message)
+			self.muc.leave(auto_decode(message))
 			self.bridge.bot.close_xmpp_connection(self.nickname)
 		if self.irc_connection != None:
 			self.irc_connection.used_by -= 1