--- a/sources/network/rconsession.cpp Mon Jan 25 04:15:31 2016 +0200 +++ b/sources/network/rconsession.cpp Wed Jul 20 12:55:39 2016 +0300 @@ -1,5 +1,5 @@ /* - Copyright 2014, 2015 Teemu Piippo + Copyright 2014 - 2016 Teemu Piippo All rights reserved. Redistribution and use in source and binary forms, with or without @@ -73,8 +73,7 @@ Bytestream packet; packet.write_byte (CLRC_DISCONNECT); this->send (packet); - m_interface->print ("Disconnected from %s\n", m_address.to_string (IPAddress::WITH_PORT).chars()); - m_interface->update_statusbar(); + m_interface->disconnected(); } m_state = RCON_DISCONNECTED; @@ -165,7 +164,7 @@ { String message = packet.read_string(); message.normalize(); - m_interface->print ("%s\n", message.chars()); + m_interface->print_text ("%s\n", message.chars()); } break; @@ -185,7 +184,7 @@ { String message = packet.read_string(); message.normalize(); - m_interface->print ("--- %s\n", message.chars()); + m_interface->print_text ("--- %s\n", message.chars()); } m_interface->print ("End of previous messages.\n");