mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +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))
|
||||
};
|
||||
|
||||
assert(pos <= 5);
|
||||
assert(pos <= sizeof(cond_kind_name) / sizeof(string_view));
|
||||
const auto &func
|
||||
{
|
||||
cond_kind[pos]
|
||||
|
|
Loading…
Reference in a new issue