X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..af9452155f0892e1d2862efad4a87861ca60867d:/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp?ds=inline diff --git a/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp b/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp index 89dd3883..91de27ac 100644 --- a/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp +++ b/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp @@ -50,8 +50,8 @@ void USER_INFO::CreateAnswer() return; } - m_answer = "GetAuthorizedModificationTime()) + "\"" + - " lastDisconnectTime=\"" + x2str(u->GetConnectedModificationTime()) + "\"" + + m_answer = "GetAuthorizedModificationTime()) + "\"" + + " lastDisconnectTime=\"" + std::to_string(u->GetConnectedModificationTime()) + "\"" + " connected=\"" + (u->GetConnected() ? "true" : "false") + "\"" + " lastDisconnectReason=\"" + u->GetLastDisconnectReason() + "\">"; std::vector list(u->GetAuthorizers());