summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-27 17:04:29 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-27 17:04:29 -0400
commitf59ead93eed6a7177a5b20bf23979f17354afdd0 (patch)
treeadecaee638e0a87e9bd6b709fbbdcbd12d0c8a87 /scripts
parentb9f0ea6f0e16f2314a2bdd56365205e7a3c31aa1 (diff)
remove unimplemented methods from XmppDaemon
darcs-hash:20080827210429-84dde-90c22dbee16f74f53464dcd538a6dbcf49db4f28.gz
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/xmppdaemon.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index 2b21efa1e..b013a34c9 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -71,15 +71,10 @@ class XMPPDaemon {
}
function handle() {
-
$this->conn->addEventHandler('message', 'handle_message', $this);
$this->conn->addEventHandler('presence', 'handle_presence', $this);
- while(!$this->conn->isDisconnected()) {
- $this->conn->processTime(5);
- $this->broadcast_queue();
- $this->confirmation_queue();
- }
+ $this->conn->process();
}
function get_user($from) {