diff bot.py @ 115:0ae0f8836a7a

split long messages when sending on IRC Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sat, 28 Nov 2009 23:33:48 +0100
parents 6daf0854aa9f
children b29fd5696a78
line wrap: on
line diff
--- a/bot.py
+++ b/bot.py
@@ -665,7 +665,7 @@ class bot(Thread):
 					self.error('===> Debug: no bridge found for "'+event.target().lower()+' at '+connection.server+'"', debug=True)
 					return
 				for bridge in bridges:
-					bridge.addParticipant('irc', nickname)
+					bridge.addParticipant('irc', nickname, irc_id=event.source())
 				return