mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 19:58:53 +02: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",
|
||||
|
||||
active? 'A' : '-',
|
||||
redacted? 'R' : '-',
|
||||
power? 'P' : '-',
|
||||
active? 'A' : ' ',
|
||||
redacted? 'R' : ' ',
|
||||
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])? 'X': '?',
|
||||
|
|
Loading…
Reference in a new issue