diff options
Diffstat (limited to 'plugins/Irc/extlib/phergie/Phergie/Plugin/Ping.php')
-rwxr-xr-x | plugins/Irc/extlib/phergie/Phergie/Plugin/Ping.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/Ping.php b/plugins/Irc/extlib/phergie/Phergie/Plugin/Ping.php index 29ac69f46..021670d97 100755 --- a/plugins/Irc/extlib/phergie/Phergie/Plugin/Ping.php +++ b/plugins/Irc/extlib/phergie/Phergie/Plugin/Ping.php @@ -87,7 +87,7 @@ class Phergie_Plugin_Ping extends Phergie_Plugin_Abstract { $time = time(); if (!empty($this->lastPing)) { - if ($time - $this->lastPing > $this->getConfig('ping.ping', 10)) { + if ($time - $this->lastPing > $this->getConfig('ping.ping', 20)) { $this->doQuit(); } } elseif ( @@ -112,7 +112,7 @@ class Phergie_Plugin_Ping extends Phergie_Plugin_Abstract /** * Set the last ping time * lastPing needs to be exposed for unit testing - * + * * @param int|null $ping timestamp of last ping * * @return self |