diff bridge.py @ 10:7cb790f5f243

No comment. Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 16 Aug 2009 23:35:15 +0200
parents cb0daec4b778
children 79b0a7f48a3e
line wrap: on
line diff
--- a/bridge.py
+++ b/bridge.py
@@ -70,7 +70,7 @@ class bridge:
 	def addParticipant(self, protocol, nickname):
 		"""Add a participant to the bridge."""
 		if (protocol == 'irc' and nickname == self.irc_connection.get_nickname()) or (protocol == 'xmpp' and nickname == self.xmpp_room.nickname):
-			raise Exception('cannot add self')
+			raise Exception('Internal Error: cannot add self')
 		try:
 			p = self.getParticipant(nickname)
 			if p.protocol != protocol: