comparison bridge.py @ 56:b048c4c03b00

Fixed encoding issues Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Thu, 27 Aug 2009 22:31:47 +0200
parents 41394ddb3aff
children d8941159fd44
comparison
equal deleted inserted replaced
55:c09f9523fe2e 56:b048c4c03b00
233 if getattr(self.__class__, '_'+level) < self.say_level: 233 if getattr(self.__class__, '_'+level) < self.say_level:
234 return 234 return
235 if on_xmpp == True: 235 if on_xmpp == True:
236 self.xmpp_room.say(message) 236 self.xmpp_room.say(message)
237 if on_irc == True: 237 if on_irc == True:
238 self.irc_connection.privmsg(self.irc_room, auto_encode(message)) 238 self.irc_connection.privmsg(self.irc_room, message)
239 239
240 240
241 def switchFromLimitedToNormalMode(self): 241 def switchFromLimitedToNormalMode(self):
242 if self.mode != 'normal-limited': 242 if self.mode != 'normal-limited':
243 return 243 return