0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-25 21:38:18 +02:00

modules/m_event: Simplify format.

This commit is contained in:
Jason Volk 2019-08-22 03:18:58 -07:00
parent 4dba866c64
commit cf662a833a

View file

@ -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': '?',