--- mucous.old	2005-11-30 21:35:23.000000000 +0100
+++ mucous	2005-11-30 21:33:12.000000000 +0100
@@ -1856,6 +1856,10 @@
 							elif self.search_type == "buddies":
 								self.send(messages.Search(1, line.decode(language)))
 								
+							# Room Search
+							elif self.search_type == "rooms":
+								self.send(messages.Search(2, line.decode(language)))
+								
 								
 					elif self.display_which_text == "browse":
 						# Browse User's shares
@@ -4111,6 +4115,8 @@
 				if self.search_type == "globally":
 					self.search_type = "buddies"
 				elif self.search_type == "buddies":
+					self.search_type = "rooms"
+				elif self.search_type == "rooms":
 					self.search_type = "globally"
 				self.search_mode()
 		elif key == "KEY_MOUSE":
@@ -4242,6 +4248,8 @@
 						if self.search_type == "globally":
 							self.search_type = "buddies"
 						elif self.search_type == "buddies":
+							self.search_type = "rooms"
+						elif self.search_type == "rooms":
 							self.search_type = "globally"
 						self.search_mode()
 				elif y in ( self.h-5, self.h-6):
