diff bridge.py @ 45:41394ddb3aff

Lower before comparing strings. Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Mon, 24 Aug 2009 20:32:48 +0200
parents faa468731d8a
children b048c4c03b00
line wrap: on
line diff
--- a/bridge.py
+++ b/bridge.py
@@ -44,7 +44,7 @@ class bridge:
 		self.bot = owner_bot
 		self.irc_server = irc_server
 		self.irc_port = irc_port
-		self.irc_room = irc_room
+		self.irc_room = irc_room.lower()
 		if hasattr(self.__class__, '_'+say_level):
 			self.say_level = getattr(self.__class__, '_'+say_level)
 		else: