mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 16:34:13 +01:00
ircd:Ⓜ️:event: Condition for sentinel return value.
This commit is contained in:
parent
68ec7b1c5d
commit
cf853cf9ad
1 changed files with 1 additions and 1 deletions
|
@ -1672,7 +1672,7 @@ ircd::m::event_id(const event::idx &event_idx,
|
|||
buf = eid;
|
||||
});
|
||||
|
||||
return buf;
|
||||
return buf? event::id{buf} : event::id{};
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in a new issue