]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed bug in Stream driver
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 7 Jul 2010 15:42:10 +0000 (08:42 -0700)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 7 Jul 2010 15:42:10 +0000 (08:42 -0700)
plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php

index bb0c611aa38e032df3eb1ad10ac3279a3e3cc49a..1d0f1c5572a155ae94540f8dcb8a7d33c60abf62 100755 (executable)
@@ -244,6 +244,8 @@ class Phergie_Driver_Streams extends Phergie_Driver_Abstract
                 = array_pad(explode(' ', ltrim($buffer, ':'), 3), 3, null);
             if (strpos($prefix, '@') !== false) {
                 $hostmask = Phergie_Hostmask::fromString($prefix);
+            } else {
+                $hostmask = new Phergie_Hostmask(null, null, $prefix);
             }
         }