Fixed bug in Stream driver

This commit is contained in:
Luke Fitzgerald 2010-07-07 08:42:10 -07:00
parent 3dce582182
commit 2d12d7b9e4

View File

@ -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);
}
}