summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-22 23:01:50 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-22 23:01:50 -0400
commitcf96f138f9de1e45a1e1a5527a77ffcae0761b86 (patch)
tree9fa78606ed9beb37e7716e1e8836013ddcb08f5c
parentf6d219bac42ebcd3a941bc421a131388ea4519ad (diff)
make the daemon do something
darcs-hash:20080623030150-84dde-d065378a7cf8371924ebf3a76bf9b25d0d50795e.gz
-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();
+}
?>