0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 17:08:20 +02:00

ircd:Ⓜ️:room::power: Consider an empty prop argument for level_event().

This commit is contained in:
Jason Volk 2019-03-14 13:21:55 -07:00
parent a995a14a3b
commit d0b5b68d9c

View file

@ -2442,7 +2442,7 @@ const
const auto &required_level
{
prop == "events"?
empty(prop) || prop == "events"?
level_event(type, state_key):
level(prop)
};