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
1 changed files with 1 additions and 1 deletions

View File

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