Commit 18a994d1 authored by Brion Vibber's avatar Brion Vibber

Fix typo in filteringnoticestream that caused some messages to get lost

parent d7304d56
...@@ -84,7 +84,7 @@ abstract class FilteringNoticeStream extends NoticeStream ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment