diff options
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index a2dca24..d73bba9 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -5125,9 +5125,10 @@ void Courtroom::on_ooc_return_pressed() if (command.size() != 2) { append_server_chatmessage("CLIENT", "Usage: /auth <username>", "1"); + ui_ooc_chat_message->clear(); return; } - start_auth_flow(ao_app, command[1]); + ao_app->auth.start(command[1], ao_app->m_serverdata.m_server_hostname); ui_ooc_chat_message->clear(); return; } |
