comparison 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
comparison
equal deleted inserted replaced
65:75604669fcd9 66:91b98275f2eb
197 197
198 def leave(self, message): 198 def leave(self, message):
199 if message == None: 199 if message == None:
200 message = '' 200 message = ''
201 if self.xmpp_c != None: 201 if self.xmpp_c != None:
202 self.muc.leave(message) 202 self.muc.leave(auto_decode(message))
203 self.bridge.bot.close_xmpp_connection(self.nickname) 203 self.bridge.bot.close_xmpp_connection(self.nickname)
204 if self.irc_connection != None: 204 if self.irc_connection != None:
205 self.irc_connection.used_by -= 1 205 self.irc_connection.used_by -= 1
206 if self.irc_connection.used_by < 1: 206 if self.irc_connection.used_by < 1:
207 self.irc_connection.close(message) 207 self.irc_connection.close(message)