guarded call to conn method in xmppqueuehandler
darcs-hash:20080929205504-5ed1f-fa0ddfe8e78b854eb99e5ab92060320a1d399a2a.gz
This commit is contained in:
parent
70f8844431
commit
eafc2d6e33
@ -51,7 +51,9 @@ class XmppQueueHandler extends QueueHandler {
|
||||
function idle($timeout=0) {
|
||||
# Process the queue for as long as needed
|
||||
try {
|
||||
if ($this->conn) {
|
||||
$this->conn->processTime($timeout);
|
||||
}
|
||||
} catch (XMPPHP_Exception $e) {
|
||||
$this->log(LOG_ERR, "Got an XMPPHP_Exception: " . $e->getMessage());
|
||||
die($e->getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user