From b7383d56387109ec2fc049861b01ad37469c2090 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 26 Jun 2008 18:40:11 -0400 Subject: [PATCH] fork daemon darcs-hash:20080626224011-84dde-c6bbfcde6d0802ef3a2346524e0f883e6767c949.gz --- scripts/xmppdaemon.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index 8c2e6c1688..d5f543b40a 100755 --- a/scripts/xmppdaemon.php +++ b/scripts/xmppdaemon.php @@ -301,4 +301,7 @@ $resource = ($argc > 1) ? $argv[1] : (common_config('xmpp','resource') . '-liste $daemon = new XMPPDaemon($resource); -$daemon->runOnce(); +if ($daemon->connect()) { + $daemon->set_status("Send me a message to post a notice"); + $daemon->handle(); +} -- 2.39.5