diff --git a/plugins/gtkgui/config.py b/plugins/gtkgui/config.py
index 9ecc025cd56e82a4788906c310d16ad6b9029271..7767dae7d055e5c115f03483eb5bcdb47f140042 100644
--- a/plugins/gtkgui/config.py
+++ b/plugins/gtkgui/config.py
@@ -1549,7 +1549,7 @@ class agent_browser_window:
 			room = services[0]
 			service = services[1]
 		if not self.plugin.windows.has_key('join_gc'):
-			self.plugin.windows['join_gc'] = join_groupchat_window(self.plugin, self.account, service, room)
+			self.plugin.windows['join_gc'] = Join_groupchat_window(self.plugin, self.account, service, room)
 
 	def on_register_button_clicked(self, widget):
 		"""When we want to register an agent :