]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Set lastPing on connect
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Mon, 9 Aug 2010 14:08:29 +0000 (07:08 -0700)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Mon, 9 Aug 2010 14:08:29 +0000 (07:08 -0700)
plugins/Irc/ircmanager.php

index ebde56a94777fdb27f6eaade91bb50d343e0c753..7acb85468f7f1df0d220a9f0e9adf64d4dcda286 100644 (file)
@@ -148,6 +148,7 @@ class IrcManager extends ImManager {
             );
 
             $this->conn->setConfig($config);
+            $this->lastPing = time();
             $this->conn->connect();
         }
         return $this->conn;