fork daemon

darcs-hash:20080626224011-84dde-c6bbfcde6d0802ef3a2346524e0f883e6767c949.gz
This commit is contained in:
Evan Prodromou 2008-06-26 18:40:11 -04:00
parent f5c9a6ebcf
commit b7383d5638

View File

@ -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();
}