0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 18:38:52 +02:00

ircd:Ⓜ️:event::index: Prevent any column search for empty event_id.

This commit is contained in:
Jason Volk 2019-02-13 18:27:55 -08:00
parent df64c6e573
commit 2c60fa4fce

View file

@ -1242,6 +1242,9 @@ ircd::m::index(const event::id &event_id,
dbs::event_idx
};
if(!event_id)
return false;
return column(event_id, std::nothrow, [&closure]
(const string_view &value)
{