mirror of
https://github.com/matrix-construct/construct
synced 2024-11-04 21:08:57 +01:00
modules/m_event: Simplify format.
This commit is contained in:
parent
4dba866c64
commit
cf662a833a
1 changed files with 3 additions and 3 deletions
|
@ -76,9 +76,9 @@ ircd::m::pretty_stateline(std::ostream &out,
|
||||||
{
|
{
|
||||||
buf, "%c%c%c|%c%c%c",
|
buf, "%c%c%c|%c%c%c",
|
||||||
|
|
||||||
active? 'A' : '-',
|
active? 'A' : ' ',
|
||||||
redacted? 'R' : '-',
|
redacted? 'R' : ' ',
|
||||||
power? 'P' : '-',
|
power? 'P' : ' ',
|
||||||
|
|
||||||
std::get<bool>(auth[0]) && !std::get<std::exception_ptr>(auth[0])? ' ':
|
std::get<bool>(auth[0]) && !std::get<std::exception_ptr>(auth[0])? ' ':
|
||||||
!std::get<bool>(auth[0]) && std::get<std::exception_ptr>(auth[0])? 'X': '?',
|
!std::get<bool>(auth[0]) && std::get<std::exception_ptr>(auth[0])? 'X': '?',
|
||||||
|
|
Loading…
Reference in a new issue