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:
parent
023990888b
commit
bd6d0903a8
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue