0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-09 21:48:55 +02:00

ircd:Ⓜ️🆔 Assert my(id) call is useful.

This commit is contained in:
Jason Volk 2019-07-13 20:01:12 -07:00
parent b9df49a891
commit 91b0027751
2 changed files with 2 additions and 0 deletions

View file

@ -3959,6 +3959,7 @@ ircd::m::my(const event &event)
bool
ircd::m::my(const id::event &event_id)
{
assert(event_id.host());
return self::host(event_id.host());
}

View file

@ -874,6 +874,7 @@ noexcept
bool
ircd::m::my(const id &id)
{
assert(id.host());
return my_host(id.host());
}