From: Luke Fitzgerald Date: Wed, 7 Jul 2010 15:42:10 +0000 (-0700) Subject: Fixed bug in Stream driver X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2d12d7b9e4faff8df6ffb46782a2488a582c1999;p=quix0rs-gnu-social.git Fixed bug in Stream driver --- diff --git a/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php b/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php index bb0c611aa3..1d0f1c5572 100755 --- a/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php +++ b/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php @@ -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); } }