From 2d12d7b9e4faff8df6ffb46782a2488a582c1999 Mon Sep 17 00:00:00 2001 From: Luke Fitzgerald Date: Wed, 7 Jul 2010 08:42:10 -0700 Subject: [PATCH] Fixed bug in Stream driver --- plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- 2.39.5