pf.write("%s\n" % pid)
pf.close()
- def alreadyRunning(self):
- sys.__stdout__.write("There is already a transport instance running with this configuration.\nExiting...\n\n")
- sys.exit(1)
-
def shuttingDown(self):
self.transportSvc.removeMe()
# Keep the transport running for another 3 seconds
elif ptype == "probe":
LogEvent(INFO, self.jabberID, "Responding to presence probe")
- self.contactList.getContact(toj.userhost()).sendPresence(fro)
+ self.contactList.getContact(to).sendPresence(source)
else:
# Not for groupchat
self.handleResourcePresence(source, resource, to, tor, priority, ptype, show, status)