subs: fix incorrect stream_info re-initialization.

Using [] doesn't cause incorrect behavior, but it's a mismatch with
how stream_info is initially declared and gives you a confusing
representation at the console.

(imported from commit c03d9e6a29ff990659f41ee478f631a019a5ac25)
This commit is contained in:
Jessica McKellar 2013-04-14 16:58:33 -04:00
parent 6b4196a74a
commit 750b8326d7

View File

@ -474,7 +474,7 @@ exports.reload_subscriptions = function (opts) {
}
if (opts.clear_first) {
stream_info = [];
stream_info = {};
ui.remove_all_narrow_filters();
}