diff options
author | Luke Fitzgerald <lw.fitzgerald@googlemail.com> | 2010-07-07 08:42:10 -0700 |
---|---|---|
committer | Luke Fitzgerald <lw.fitzgerald@googlemail.com> | 2010-07-07 08:42:10 -0700 |
commit | 2d12d7b9e4faff8df6ffb46782a2488a582c1999 (patch) | |
tree | d6c3c3d88530549cc4a5382f7146dc5e2255c6f1 /plugins/Irc/extlib/phergie | |
parent | 3dce582182b59e00c0932ce99d47e76bdf99ac64 (diff) |
Fixed bug in Stream driver
Diffstat (limited to 'plugins/Irc/extlib/phergie')
-rwxr-xr-x | plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php b/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php index bb0c611aa..1d0f1c557 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); } } |