comparison bridge.py @ 114:787e97d62404

minor fix Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sat, 28 Nov 2009 10:12:43 +0100
parents 6daf0854aa9f
children 0ae0f8836a7a
comparison
equal deleted inserted replaced
113:6daf0854aa9f 114:787e97d62404
78 self.irc_connection.connect(nick_callback=self._irc_nick_callback) 78 self.irc_connection.connect(nick_callback=self._irc_nick_callback)
79 except: 79 except:
80 self.bot.error('[Error] joining IRC room failed') 80 self.bot.error('[Error] joining IRC room failed')
81 raise 81 raise
82 82
83 self.bot.error('[Notice] bridge "'+str(self)+'" is running in '+self.mode+' mode and a say_level of "'+self._say_levels[self.say_level]+'"') 83 self.bot.error('[Notice] bridge "'+str(self)+'" is running in '+self.mode+' mode and a say_level of "'+self.__class__._say_levels[self.say_level]+'"')
84 84
85 85
86 def _irc_nick_callback(self, error, arguments=[]): 86 def _irc_nick_callback(self, error, arguments=[]):
87 if error == None: 87 if error == None:
88 if self.mode == None: 88 if self.mode == None: