diff options
-rwxr-xr-x | scripts/xmppdaemon.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index 8c2e6c168..d5f543b40 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(); +} |