diff --git a/ircd/m/m.cc b/ircd/m/m.cc index 0b3f0ef61..14cb83442 100644 --- a/ircd/m/m.cc +++ b/ircd/m/m.cc @@ -1503,12 +1503,7 @@ const // here we gooooooo :/ ///TODO: ideal: db schema ///TODO: minimally: custom alloc? - std::set> seen - { - // start with the user so they don't reflect in the iteration. - std::string{user.user_id} - }; - + std::set> seen; rooms.for_each(membership, rooms::closure_bool{[&membership, &closure, &seen] (const m::room &room, const string_view &) {