0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 08:24:08 +01:00

ircd:Ⓜ️ Fix closure parameter rot.

This commit is contained in:
Jason Volk 2018-04-27 21:11:03 -07:00
parent d8b14ade58
commit 46cf2ca559

View file

@ -1684,9 +1684,9 @@ ircd::m::user::rooms::origins::for_each(const string_view &membership,
const const
{ {
for_each(membership, closure_bool{[&closure] for_each(membership, closure_bool{[&closure]
(const m::user &user) (const string_view &origin)
{ {
closure(user); closure(origin);
return true; return true;
}}); }});
} }