diff src/sat.tac @ 277:05caa87196e6

new xml log plugin
author Goffi <goffi@goffi.org>
date Tue, 01 Feb 2011 23:07:08 +0100
parents a00e87d48213
children 6a0c6d8e119d
line wrap: on
line diff
--- a/src/sat.tac	Sun Jan 30 22:54:58 2011 +0100
+++ b/src/sat.tac	Tue Feb 01 23:07:08 2011 +0100
@@ -88,10 +88,13 @@
         info (_("********** [%s] CONNECTED **********") % self.profile)
         self.streamInitialized()
         self.host_app.bridge.connected(self.profile) #we send the signal to the clients
+   
 
     def streamInitialized(self):
         """Called after _authd"""
         debug (_("XML stream is initialized"))
+        if not self.host_app.trigger.point("XML Initialized", self.xmlstream, self.profile):
+            return
         self.keep_alife = task.LoopingCall(self.xmlstream.send, " ")  #Needed to avoid disconnection (specially with openfire)
         self.keep_alife.start(180)