0
0
Fork 0
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:
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", 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': '?',