]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge in Phergie changes
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 28 Jul 2010 17:42:01 +0000 (10:42 -0700)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 28 Jul 2010 17:42:01 +0000 (10:42 -0700)
plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php

index ed64bba2ac615839d75ed03b538228fa7c77bba8..3f2ce052b1fc780f60d2427881c73f001137d8d8 100755 (executable)
@@ -229,12 +229,6 @@ class Phergie_Driver_Streams extends Phergie_Driver_Abstract
 
         // Check for a new event on the current connection
         $buffer = fgets($this->socket, 512);
-        if ($buffer === false) {
-            throw new Phergie_Driver_Exception(
-                'Unable to read from socket',
-                Phergie_Driver_Exception::ERR_CONNECTION_READ_FAILED
-            );
-        }
 
         // If no new event was found, return NULL
         if (empty($buffer)) {