summaryrefslogtreecommitdiff
path: root/xmppdaemon.php
diff options
context:
space:
mode:
Diffstat (limited to 'xmppdaemon.php')
-rw-r--r--xmppdaemon.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmppdaemon.php b/xmppdaemon.php
index 71f1d853b..f1a817e3f 100644
--- a/xmppdaemon.php
+++ b/xmppdaemon.php
@@ -156,5 +156,9 @@ class XMPPDaemon {
}
}
+$daemon = new XMPPDaemon();
+if ($daemon->connect()) {
+ $daemon->handle();
+}
?>