diff src/core/xmpp.py @ 527:9a3913fb0a6c

plugin text commands: added /parrot and /unparrot commands to use Parrot plugin - /parrot command add parrot link between the current entity/room and the entity given as an argument (must be a valid jid) - similarly, /unparrot remove the 2 links between those entities. - Parrot is a new dependency of text commands
author Goffi <goffi@goffi.org>
date Sun, 21 Oct 2012 19:46:08 +0200
parents b7577230a7c8
children 2c4016921403
line wrap: on
line diff
--- a/src/core/xmpp.py	Sun Oct 21 19:43:14 2012 +0200
+++ b/src/core/xmpp.py	Sun Oct 21 19:46:08 2012 +0200
@@ -106,7 +106,7 @@
 
     def onMessage(self, message):
         debug (_(u"got message from: %s"), message["from"])
-        if not self.host.trigger.point("MessageReceived",message, profile=self.parent.profile):
+        if not self.host.trigger.point("MessageReceived", message, profile=self.parent.profile):
             return
         for e in message.elements():
             if e.name == "body":