diff participant.py @ 78:a8749705fe94

Fixed IRC quit event handling Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Fri, 04 Sep 2009 14:21:48 +0200
parents fa291fd20480
children 90baff5dedb2
line wrap: on
line diff
--- a/participant.py
+++ b/participant.py
@@ -204,6 +204,7 @@ class participant:
 			self.muc.leave(auto_decode(message))
 			self.bridge.bot.close_xmpp_connection(self.nickname)
 		if isinstance(self.irc_connection, ServerConnection):
+			self.irc_connection.part(self.bridge.irc_room, message=message)
 			self.irc_connection.used_by -= 1
 			if self.irc_connection.used_by < 1:
 				self.irc_connection.close(message)