summaryrefslogtreecommitdiff
path: root/extlib/XMPPHP
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-02 13:20:39 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-02 13:20:39 -0400
commit307b9527e6ed344c519a3f20ab6357bc9160e142 (patch)
tree1034cb1d88916d1e402d4f673075c7546a6c04d2 /extlib/XMPPHP
parent65e462858e957a94876b6941cc62a1b494567b2f (diff)
variable name conflict on reconnect
darcs-hash:20080902172039-84dde-2b1bbac407959af2a5ca0c764aa503f0cb05c785.gz
Diffstat (limited to 'extlib/XMPPHP')
-rw-r--r--extlib/XMPPHP/XMLStream.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/extlib/XMPPHP/XMLStream.php b/extlib/XMPPHP/XMLStream.php
index b27811407..3916abea2 100644
--- a/extlib/XMPPHP/XMLStream.php
+++ b/extlib/XMPPHP/XMLStream.php
@@ -156,7 +156,7 @@ class XMPPHP_XMLStream {
/**
* @var integer
*/
- protected $reconnect = 30;
+ protected $reconnectTimeout = 30;
/**
* Constructor
@@ -296,14 +296,14 @@ class XMPPHP_XMLStream {
*/
public function doReconnect() {
if(!$this->is_server) {
- $this->log->log("Reconnecting ($this->reconnect)...", XMPPHP_Log::LEVEL_WARNING);
- $this->connect($this->reconnect, false, false);
+ $this->log->log("Reconnecting ($this->reconnectTimeout)...", XMPPHP_Log::LEVEL_WARNING);
+ $this->connect($this->reconnectTimeout, false, false);
$this->reset();
$this->event('reconnect');
}
}
- public function reconnectTimeout($timeout) {
+ public function setReconnectTimeout($timeout) {
$this->reconnect = $timeout;
}