0
0
Fork 0
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:
Jason Volk 2019-07-07 02:26:38 -07:00
parent 68ec7b1c5d
commit cf853cf9ad

View file

@ -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