mirror of
https://github.com/matrix-construct/construct
synced 2024-12-02 03:32:52 +01:00
ircd:Ⓜ️ Fix exception propagation from internal(room) check.
This commit is contained in:
parent
b18a1a3ebd
commit
7cc37e517a
1 changed files with 3 additions and 0 deletions
|
@ -1306,6 +1306,9 @@ ircd::m::internal(const id::room &room_id)
|
||||||
if(!my(room))
|
if(!my(room))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if(!exists(room))
|
||||||
|
return false;
|
||||||
|
|
||||||
if(!creator(room, m::me))
|
if(!creator(room, m::me))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue