diff participant.py @ 197:4a379eb359dd

bugfix, forgot "importance" argument of Bridge.say() in c5922031a4ac09c95713c4a4a18b1e0a0aad3e54 Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Tue, 23 Feb 2010 22:14:13 +0100
parents 12fa9bb73b1d
children dcabe54deeba
line wrap: on
line diff
--- a/participant.py
+++ b/participant.py
@@ -294,9 +294,9 @@ class Participant:
 			bot_say = True
 		if bot_say:
 			if action:
-				self.bridge.say('* '+self.nickname+' '+message, on_xmpp=False)
+				self.bridge.say(-1, '* '+self.nickname+' '+message, on_xmpp=False)
 			else:
-				self.bridge.say('<'+self.nickname+'> '+message, on_xmpp=False)
+				self.bridge.say(-1, '<'+self.nickname+'> '+message, on_xmpp=False)
 	
 	
 	def sayOnIRCTo(self, to, message):
@@ -314,9 +314,9 @@ class Participant:
 			self.muc.say(message)
 		elif not isinstance(self.irc_connection, ServerConnection):
 			if message[:4] == '/me ':
-				self.bridge.say('* '+self.nickname+' '+message[4:], on_irc=False)
+				self.bridge.say(-1, '* '+self.nickname+' '+message[4:], on_irc=False)
 			else:
-				self.bridge.say('<'+self.nickname+'> '+message, on_irc=False)
+				self.bridge.say(-1, '<'+self.nickname+'> '+message, on_irc=False)
 	
 	
 	def sayOnXMPPTo(self, to, message):