Mercurial > xib
comparison participant.py @ 200:740effa74c18
bugfix for previous commit, forgot "self" argument for say_on_XMPP_through_bridge
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Thu, 25 Feb 2010 20:42:34 +0100 |
parents | dcabe54deeba |
children | 2a81c480439a |
comparison
equal
deleted
inserted
replaced
199:dcabe54deeba | 200:740effa74c18 |
---|---|
314 self.muc.say(message) | 314 self.muc.say(message) |
315 elif not isinstance(self.irc_connection, ServerConnection): | 315 elif not isinstance(self.irc_connection, ServerConnection): |
316 self.say_on_XMPP_through_bridge(message) | 316 self.say_on_XMPP_through_bridge(message) |
317 | 317 |
318 | 318 |
319 def say_on_XMPP_through_bridge(message): | 319 def say_on_XMPP_through_bridge(self, message): |
320 if message[:4] == '/me ': | 320 if message[:4] == '/me ': |
321 self.bridge.say(-1, '* '+self.nickname+' '+message[4:], on_irc=False) | 321 self.bridge.say(-1, '* '+self.nickname+' '+message[4:], on_irc=False) |
322 else: | 322 else: |
323 self.bridge.say(-1, '<'+self.nickname+'> '+message, on_irc=False) | 323 self.bridge.say(-1, '<'+self.nickname+'> '+message, on_irc=False) |
324 | 324 |