mirror of
https://github.com/matrix-construct/construct
synced 2024-11-30 02:32:43 +01:00
ircd:Ⓜ️:push: Fix stale assertion.
This commit is contained in:
parent
41a3040084
commit
7ca990e1ee
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ ircd::m::push::match::match(const event &event,
|
||||||
indexof(kind, string_views(cond_kind_name))
|
indexof(kind, string_views(cond_kind_name))
|
||||||
};
|
};
|
||||||
|
|
||||||
assert(pos <= 5);
|
assert(pos <= sizeof(cond_kind_name) / sizeof(string_view));
|
||||||
const auto &func
|
const auto &func
|
||||||
{
|
{
|
||||||
cond_kind[pos]
|
cond_kind[pos]
|
||||||
|
|
Loading…
Reference in a new issue