0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd:Ⓜ️:room: Consider an empty set a positive lonly() result.

This commit is contained in:
Jason Volk 2019-08-13 05:30:44 -07:00
parent 1bea1d2265
commit 8cd65bd3c9

View file

@ -1330,7 +1330,7 @@ ircd::m::room::lonly()
const const
{ {
const origins origins(*this); const origins origins(*this);
return origins.only(my_host()); return origins.empty() || origins.only(my_host());
} }
bool bool