0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-02-17 01:00:10 +01:00

ircd:Ⓜ️: Fix stupid.

This commit is contained in:
Jason Volk 2018-02-16 13:18:14 -08:00
parent 023990888b
commit bd6d0903a8

View file

@ -400,13 +400,16 @@ const
bool ret{false};
messages it{*this};
for(; bool(it) && !ret; --it)
for(; it; --it)
{
const auto &event_id{it.event_id()};
column(event_id, [&ret, &type](const string_view &value)
{
ret = value == type;
});
if(ret)
break;
}
if(ret && closure)