fork daemon
darcs-hash:20080626224011-84dde-c6bbfcde6d0802ef3a2346524e0f883e6767c949.gz
This commit is contained in:
parent
f5c9a6ebcf
commit
b7383d5638
@ -301,4 +301,7 @@ $resource = ($argc > 1) ? $argv[1] : (common_config('xmpp','resource') . '-liste
|
|||||||
|
|
||||||
$daemon = new XMPPDaemon($resource);
|
$daemon = new XMPPDaemon($resource);
|
||||||
|
|
||||||
$daemon->runOnce();
|
if ($daemon->connect()) {
|
||||||
|
$daemon->set_status("Send me a message to post a notice");
|
||||||
|
$daemon->handle();
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user