Fix typo in filteringnoticestream that caused some messages to get lost

This commit is contained in:
Brion Vibber 2011-03-29 15:19:04 -07:00
parent d7304d5659
commit 18a994d105

View File

@ -84,7 +84,7 @@ abstract class FilteringNoticeStream extends NoticeStream
while ($raw->fetch()) { while ($raw->fetch()) {
if ($this->filter($raw)) { if ($this->filter($raw)) {
$filtered[] = clone($raw); $filtered[] = clone($raw);
if (count($filtered >= $total)) { if (count($filtered) >= $total) {
break; break;
} }
} }